yijunyu/c-to-rust huggingface dataset:
// Original:
public ConfirmProductInstanceRequest(String productCode, String instanceId) {setProductCode(productCode);setInstanceId(instanceId);}

// Translation:
public ConfirmProductInstanceRequest(string productCode, string instanceId){_productCode = productCode;_instanceId = instanceId;}
// Original:
public AnalyzerFactory(List<CharFilterFactory> charFilterFactories,TokenizerFactory tokenizerFactory,List<TokenFilterFactory> tokenFilterFactories) {this.charFilterFactories = charFilterFactories;assert null != tokenizerFactory;this.tokenizerFactory = tokenizerFactory;this.tokenFilterFactories = tokenFilterFactories;}

// Translation:
public AnalyzerFactory(IList<CharFilterFactory> charFilterFactories,TokenizerFactory tokenizerFactory,IList<TokenFilterFactory> tokenFilterFactories){this.charFilterFactories = charFilterFactories;Debug.Assert(null != tokenizerFactory);this.tokenizerFactory = tokenizerFactory;this.tokenFilterFactories = tokenFilterFactories;}
// Original:
public DeleteRestApiResult deleteRestApi(DeleteRestApiRequest request) {request = beforeClientExecution(request);return executeDeleteRestApi(request);}

// Translation:
public virtual DeleteRestApiResponse DeleteRestApi(DeleteRestApiRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteRestApiRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteRestApiResponseUnmarshaller.Instance;return Invoke<DeleteRestApiResponse>(request, options);}
// Original:
public final ByteBuffer put(byte[] src) {return put(src, 0, src.length);}

// Translation:
public java.nio.ByteBuffer put(byte[] src){return put(src, 0, src.Length);}
// Original:
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[PROT4REV]\n");buffer.append("    .options = ").append(HexDump.shortToHex(_options)).append("\n");buffer.append("[/PROT4REV]\n");return buffer.toString();}

// Translation:
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[PROT4REV]\n");buffer.Append("    .protect         = ").Append(Protect).Append("\n");buffer.Append("[/PROT4REV]\n");return buffer.ToString();}
// Original:
public void setTokenSeparator(String tokenSeparator) {this.tokenSeparator = null == tokenSeparator ? "" : tokenSeparator;}

// Translation:
public void SetTokenSeparator(string tokenSeparator){this.tokenSeparator = null == tokenSeparator ? "" : tokenSeparator;}
// Original:
@Override public ListIterator<E> listIterator() {synchronized (mutex) {return list.listIterator();}}

// Translation:
public virtual java.util.ListIterator<E> listIterator(){lock (mutex){return list.listIterator();}}
// Original:
public FileOutputStream(File file) throws FileNotFoundException {this(file, false);}

// Translation:
public FileOutputStream(java.io.File file) : this(file, false){throw new System.NotImplementedException();}
// Original:
public SetInstanceHealthResult setInstanceHealth(SetInstanceHealthRequest request) {request = beforeClientExecution(request);return executeSetInstanceHealth(request);}

// Translation:
public virtual SetInstanceHealthResponse SetInstanceHealth(SetInstanceHealthRequest request){var options = new InvokeOptions();options.RequestMarshaller = SetInstanceHealthRequestMarshaller.Instance;options.ResponseUnmarshaller = SetInstanceHealthResponseUnmarshaller.Instance;return Invoke<SetInstanceHealthResponse>(request, options);}
// Original:
public boolean isUnderflow() {return this.type == TYPE_UNDERFLOW;}

// Translation:
public virtual bool isUnderflow(){return this.type == TYPE_UNDERFLOW;}
// Original:
public PutRecordsResult putRecords(PutRecordsRequest request) {request = beforeClientExecution(request);return executePutRecords(request);}

// Translation:
public virtual PutRecordsResponse PutRecords(PutRecordsRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutRecordsRequestMarshaller.Instance;options.ResponseUnmarshaller = PutRecordsResponseUnmarshaller.Instance;return Invoke<PutRecordsResponse>(request, options);}
// Original:
public synchronized boolean isIndeterminate() {return mIndeterminate;}

// Translation:
public virtual bool isIndeterminate(){lock (this){return mIndeterminate;}}
// Original:
public NavigableMap<K, V> headMap(K toExclusive) {return subMap(null, NO_BOUND, toExclusive, EXCLUSIVE);}

// Translation:
public java.util.NavigableMap<K, V> headMap(K toExclusive){return this.subMap(default(K), java.util.TreeMap.Bound.NO_BOUND, toExclusive, java.util.TreeMap.Bound.EXCLUSIVE);}
// Original:
public final boolean updateValue(ValueEval value) {if (value == null) {throw new IllegalArgumentException("Did not expect to update to null");}boolean result = !areValuesEqual(_value, value);_value = value;return result;}

// Translation:
public bool UpdateValue(ValueEval value){if (value == null){throw new ArgumentException("Did not expect To Update To null");}bool result = !AreValuesEqual(_value, value);_value = value;return result;}
// Original:
public ListTablesResult listTables() {return listTables(new ListTablesRequest());}

// Translation:
public virtual ListTablesResponse ListTables(){return ListTables(new ListTablesRequest());}
// Original:
public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) {if (args.length != 1) {return ErrorEval.VALUE_INVALID;}int val;try {val = evaluateArgParity(args[0], ec.getRowIndex(), ec.getColumnIndex());} catch (EvaluationException e) {return e.getErrorEval();}return BoolEval.valueOf(val == _desiredParity);}

// Translation:
public ValueEval Evaluate(ValueEval[] args, OperationEvaluationContext ec){if (args.Length != 1){return ErrorEval.VALUE_INVALID;}int val;try{val = EvaluateArgParity(args[0], ec.RowIndex, ec.ColumnIndex);}catch (EvaluationException e){return e.GetErrorEval();}return BoolEval.ValueOf(val == _desiredParity);}
// Original:
public char charAt(int index) {return (char) (buffer[startPtr + index] & 0xff);}

// Translation:
public char CharAt(int index){return (char)(buffer[startPtr + index] & unchecked((int)(0xff)));}
// Original:
public CFHeaderRecord(CellRangeAddress[] regions, int nRules) {super(regions, nRules);}

// Translation:
public CFHeaderRecord(CellRangeAddress[] regions, int nRules){CellRangeAddress[] unmergedRanges = regions;CellRangeAddress[] mergeCellRanges = CellRangeUtil.MergeCellRanges(unmergedRanges);CellRanges= mergeCellRanges;field_1_numcf = nRules;}
// Original:
public LayoutParams(int width, int height) {super(width, height);}

// Translation:
public LayoutParams(int width, int height) : base(width, height){weight = 0;}
// Original:
public String toString() {return "FormatAndBits(format=" + format + " bitsPerValue=" + bitsPerValue + ")";}

// Translation:
public override string ToString(){return "FormatAndBits(format=" + Format + " bitsPerValue=" + BitsPerValue + ")";}
// Original:
final public SrndQuery TopSrndQuery() throws ParseException {SrndQuery q;q = FieldsQuery();jj_consume_token(0);{if (true) return q;}throw new Error("Missing return statement in function");}

// Translation:
public SrndQuery TopSrndQuery(){SrndQuery q;q = FieldsQuery();Jj_consume_token(0);{ if (true) return q; }throw new Exception("Missing return statement in function");}
// Original:
public final ObjectId copy() {if (getClass() == ObjectId.class)return (ObjectId) this;return new ObjectId(this);}

// Translation:
public ObjectId Copy(){if (GetType() == typeof(ObjectId)){return (ObjectId)this;}return new ObjectId(this);}
// Original:
public DescribeReservedCacheNodesResult describeReservedCacheNodes() {return describeReservedCacheNodes(new DescribeReservedCacheNodesRequest());}

// Translation:
public virtual DescribeReservedCacheNodesResponse DescribeReservedCacheNodes(){return DescribeReservedCacheNodes(new DescribeReservedCacheNodesRequest());}
// Original:
public StringBuilder append(char[] chars) {append0(chars);return this;}

// Translation:
public java.lang.StringBuilder append(char[] chars){append0(chars);return this;}
// Original:
public final boolean matches(char c) {return start <= c && c <= end;}

// Translation:
public bool Matches(char c){return start <= c && c <= end;}
// Original:
public DetachVolumeRequest(String volumeId) {setVolumeId(volumeId);}

// Translation:
public DetachVolumeRequest(string volumeId){_volumeId = volumeId;}
// Original:
public final PersonIdent getCommitterIdent() {final byte[] raw = buffer;final int nameB = RawParseUtils.committer(raw, 0);if (nameB < 0)return null;return RawParseUtils.parsePersonIdent(raw, nameB);}

// Translation:
public PersonIdent GetCommitterIdent(){byte[] raw = buffer;int nameB = RawParseUtils.Committer(raw, 0);if (nameB < 0){return null;}return RawParseUtils.ParsePersonIdent(raw, nameB);}
// Original:
public SnowballPorterFilterFactory(Map<String,String> args) {super(args);language = get(args, "language", "English");wordFiles = get(args, PROTECTED_TOKENS);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

// Translation:
public SnowballPorterFilterFactory(IDictionary<string, string> args) : base(args){language = Get(args, "language", "English");wordFiles = Get(args, PROTECTED_TOKENS);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
// Original:
public String toFormulaString(String[] operands) {StringBuilder buffer = new StringBuilder();buffer.append(operands[ 0 ]);buffer.append("=");buffer.append(operands[ 1 ]);return buffer.toString();}

// Translation:
public override String ToFormulaString(String[] operands){StringBuilder buffer = new StringBuilder();buffer.Append(operands[0]);buffer.Append("=");buffer.Append(operands[1]);return buffer.ToString();}
// Original:
public String getType(int script, int ruleStatus) {switch (ruleStatus) {case RuleBasedBreakIterator.WORD_IDEO:return WORD_IDEO;case RuleBasedBreakIterator.WORD_KANA:return script == UScript.HIRAGANA ? WORD_HIRAGANA : WORD_KATAKANA;case RuleBasedBreakIterator.WORD_LETTER:return script == UScript.HANGUL ? WORD_HANGUL : WORD_LETTER;case RuleBasedBreakIterator.WORD_NUMBER:return WORD_NUMBER;case EMOJI_SEQUENCE_STATUS:return WORD_EMOJI;default: return "<OTHER>";}}

// Translation:
public override string GetType(int script, int ruleStatus){switch (ruleStatus){case BreakIterator.WordIdeo:return WORD_IDEO;case BreakIterator.WordKana: return script == UScript.Hiragana ? WORD_HIRAGANA : WORD_KATAKANA;case BreakIterator.WordLetter: return script == UScript.Hangul ? WORD_HANGUL : WORD_LETTER;case BreakIterator.WordNumber: return WORD_NUMBER;default: return "<OTHER>";}}
// Original:
public static TopDocs merge(int start, int topN, TopDocs[] shardHits) {return mergeAux(null, start, topN, shardHits, DEFAULT_TIE_BREAKER);}

// Translation:
public static TopDocs Merge(Sort sort, int topN, TopDocs[] shardHits){return Merge(sort, 0, topN, shardHits);}
// Original:
public EnableDomainTransferLockResult enableDomainTransferLock(EnableDomainTransferLockRequest request) {request = beforeClientExecution(request);return executeEnableDomainTransferLock(request);}

// Translation:
public virtual EnableDomainTransferLockResponse EnableDomainTransferLock(EnableDomainTransferLockRequest request){var options = new InvokeOptions();options.RequestMarshaller = EnableDomainTransferLockRequestMarshaller.Instance;options.ResponseUnmarshaller = EnableDomainTransferLockResponseUnmarshaller.Instance;return Invoke<EnableDomainTransferLockResponse>(request, options);}
// Original:
public DeleteConfigurationProfileResult deleteConfigurationProfile(DeleteConfigurationProfileRequest request) {request = beforeClientExecution(request);return executeDeleteConfigurationProfile(request);}

// Translation:
public virtual DeleteConfigurationProfileResponse DeleteConfigurationProfile(DeleteConfigurationProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteConfigurationProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteConfigurationProfileResponseUnmarshaller.Instance;return Invoke<DeleteConfigurationProfileResponse>(request, options);}
// Original:
public DescribeExpressionsResult describeExpressions(DescribeExpressionsRequest request) {request = beforeClientExecution(request);return executeDescribeExpressions(request);}

// Translation:
public virtual DescribeExpressionsResponse DescribeExpressions(DescribeExpressionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeExpressionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeExpressionsResponseUnmarshaller.Instance;return Invoke<DescribeExpressionsResponse>(request, options);}
// Original:
public Ptg[] getResult() {return _ptgs;}

// Translation:
public Ptg[] GetResult(){return _ptgs;}
// Original:
public GetDistributionConfigResult getDistributionConfig(GetDistributionConfigRequest request) {request = beforeClientExecution(request);return executeGetDistributionConfig(request);}

// Translation:
public virtual GetDistributionConfigResponse GetDistributionConfig(GetDistributionConfigRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDistributionConfigRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDistributionConfigResponseUnmarshaller.Instance;return Invoke<GetDistributionConfigResponse>(request, options);}
// Original:
public ShortBuffer get(short[] dst) {return get(dst, 0, dst.length);}

// Translation:
public virtual java.nio.ShortBuffer get(short[] dst){return get(dst, 0, dst.Length);}
// Original:
public GetMetricWidgetImageResult getMetricWidgetImage(GetMetricWidgetImageRequest request) {request = beforeClientExecution(request);return executeGetMetricWidgetImage(request);}

// Translation:
public virtual GetMetricWidgetImageResponse GetMetricWidgetImage(GetMetricWidgetImageRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetMetricWidgetImageRequestMarshaller.Instance;options.ResponseUnmarshaller = GetMetricWidgetImageResponseUnmarshaller.Instance;return Invoke<GetMetricWidgetImageResponse>(request, options);}
// Original:
public UpdateVoiceConnectorGroupResult updateVoiceConnectorGroup(UpdateVoiceConnectorGroupRequest request) {request = beforeClientExecution(request);return executeUpdateVoiceConnectorGroup(request);}

// Translation:
public virtual UpdateVoiceConnectorGroupResponse UpdateVoiceConnectorGroup(UpdateVoiceConnectorGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateVoiceConnectorGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateVoiceConnectorGroupResponseUnmarshaller.Instance;return Invoke<UpdateVoiceConnectorGroupResponse>(request, options);}
// Original:
public void add(SortField sortField) {map.put(sortField.getField(), sortField);}

// Translation:
public void Add(SortField sortField){map[sortField.Field] = sortField;}
// Original:
public Daemon getDaemon() {return daemon;}

// Translation:
public virtual Daemon GetDaemon(){return daemon;}
// Original:
public CreateVpcPeeringConnectionResult createVpcPeeringConnection(CreateVpcPeeringConnectionRequest request) {request = beforeClientExecution(request);return executeCreateVpcPeeringConnection(request);}

// Translation:
public virtual CreateVpcPeeringConnectionResponse CreateVpcPeeringConnection(CreateVpcPeeringConnectionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateVpcPeeringConnectionRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateVpcPeeringConnectionResponseUnmarshaller.Instance;return Invoke<CreateVpcPeeringConnectionResponse>(request, options);}
// Original:
public String toFormulaString(String[] operands) {StringBuilder buffer = new StringBuilder();buffer.append(operands[ 0 ]);buffer.append("*");buffer.append(operands[ 1 ]);return buffer.toString();}

// Translation:
public override String ToFormulaString(String[] operands){StringBuilder buffer = new StringBuilder();buffer.Append(operands[0]);buffer.Append("*");buffer.Append(operands[1]);return buffer.ToString();}
// Original:
public DescribeExclusionsResult describeExclusions(DescribeExclusionsRequest request) {request = beforeClientExecution(request);return executeDescribeExclusions(request);}

// Translation:
public virtual DescribeExclusionsResponse DescribeExclusions(DescribeExclusionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeExclusionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeExclusionsResponseUnmarshaller.Instance;return Invoke<DescribeExclusionsResponse>(request, options);}
// Original:
public SearchNetworkProfilesResult searchNetworkProfiles(SearchNetworkProfilesRequest request) {request = beforeClientExecution(request);return executeSearchNetworkProfiles(request);}

// Translation:
public virtual SearchNetworkProfilesResponse SearchNetworkProfiles(SearchNetworkProfilesRequest request){var options = new InvokeOptions();options.RequestMarshaller = SearchNetworkProfilesRequestMarshaller.Instance;options.ResponseUnmarshaller = SearchNetworkProfilesResponseUnmarshaller.Instance;return Invoke<SearchNetworkProfilesResponse>(request, options);}
// Original:
public LooseRef peel(ObjectIdRef newLeaf) {throw new UnsupportedOperationException();}

// Translation:
public RefDirectory.LooseRef Peel(ObjectIdRef newLeaf){throw new NGit.Errors.NotSupportedException();}
// Original:
public void println(float f) {println(String.valueOf(f));}

// Translation:
public virtual void println(float f){println(f.ToString());}
// Original:
public PurchaseReservedInstancesOfferingRequest(String reservedInstancesOfferingId, Integer instanceCount) {setReservedInstancesOfferingId(reservedInstancesOfferingId);setInstanceCount(instanceCount);}

// Translation:
public PurchaseReservedInstancesOfferingRequest(string reservedInstancesOfferingId, int instanceCount){_reservedInstancesOfferingId = reservedInstancesOfferingId;_instanceCount = instanceCount;}
// Original:
public Set<String> getUntracked() {return Collections.unmodifiableSet(diff.getUntracked());}

// Translation:
public virtual ICollection<string> GetUntracked(){return Sharpen.Collections.UnmodifiableSet(diff.GetUntracked());}
// Original:
public String getTag() {return tag;}

// Translation:
public virtual string GetTag(){return tag;}
// Original:
public void buildFieldConfig(FieldConfig fieldConfig) {DateTools.Resolution dateRes = null;Map<CharSequence, DateTools.Resolution> dateResMap = this.config.get(ConfigurationKeys.FIELD_DATE_RESOLUTION_MAP);if (dateResMap != null) {dateRes = dateResMap.get(fieldConfig.getField());}if (dateRes == null) {dateRes = this.config.get(ConfigurationKeys.DATE_RESOLUTION);}if (dateRes != null) {fieldConfig.set(ConfigurationKeys.DATE_RESOLUTION, dateRes);}}

// Translation:
public virtual void BuildFieldConfig(FieldConfig fieldConfig){DateTools.Resolution? dateRes = null;IDictionary<string, DateTools.Resolution?> dateResMap = this.config.Get(ConfigurationKeys.FIELD_DATE_RESOLUTION_MAP);if (dateResMap != null){dateResMap.TryGetValue(fieldConfig.Field, out dateRes);}if (dateRes == null){dateRes = this.config.Get(ConfigurationKeys.DATE_RESOLUTION);}if (dateRes != null){fieldConfig.Set(ConfigurationKeys.DATE_RESOLUTION, dateRes.Value);}}
// Original:
public String toFormulaString() {return String.valueOf(getValue());}

// Translation:
public override String ToFormulaString(){return Value.ToString(CultureInfo.InvariantCulture);}
// Original:
public Bits getAllGroupHeads() {return matchingGroupHeads;}

// Translation:
public virtual IBits GetAllGroupHeads(){return matchingGroupHeads;}
// Original:
public int serialize( int offset, byte[] data, EscherSerializationListener listener ) {listener.beforeRecordSerialize( offset, getRecordId(), this );int pos = offset;LittleEndian.putShort( data, pos, getOptions() );     pos += 2;LittleEndian.putShort( data, pos, getRecordId() );    pos += 2;int remainingBytes =  getRecordSize() - 8;LittleEndian.putInt( data, pos, remainingBytes );          pos += 4;LittleEndian.putInt( data, pos, field_1_color1 );          pos += 4;LittleEndian.putInt( data, pos, field_2_color2 );          pos += 4;LittleEndian.putInt( data, pos, field_3_color3 );          pos += 4;LittleEndian.putInt( data, pos, field_4_color4 );          pos += 4;listener.afterRecordSerialize( pos, getRecordId(), pos - offset, this );return getRecordSize();}

// Translation:
public override int Serialize(int offset, byte[] data, EscherSerializationListener listener){listener.BeforeRecordSerialize(offset, RecordId, this);int pos = offset;LittleEndian.PutShort(data, pos, Options); pos += 2;LittleEndian.PutShort(data, pos, RecordId); pos += 2;int remainingBytes = RecordSize - 8;LittleEndian.PutInt(data, pos, remainingBytes); pos += 4;LittleEndian.PutInt(data, pos, field_1_color1); pos += 4;LittleEndian.PutInt(data, pos, field_2_color2); pos += 4;LittleEndian.PutInt(data, pos, field_3_color3); pos += 4;LittleEndian.PutInt(data, pos, field_4_color4); pos += 4;listener.AfterRecordSerialize(pos, RecordId, pos - offset, this);return RecordSize;}
// Original:
public boolean add(E object) {return backingMap.put(object, Boolean.TRUE) == null;}

// Translation:
public override bool add(E @object){return backingMap.put(@object, true) == null;}
// Original:
public void setBinaryFileThreshold(int threshold) {this.binaryFileThreshold = threshold;}

// Translation:
public virtual void SetBinaryFileThreshold(int threshold){this.binaryFileThreshold = threshold;}
// Original:
public void setParams(String params) {super.setParams(params);pauseMSec = (long) (1000.0*Float.parseFloat(params));}

// Translation:
public override void SetParams(string @params){base.SetParams(@params);pauseMSec = (long)(1000.0 * float.Parse(@params, CultureInfo.InvariantCulture));}
// Original:
public PerfTask(PerfRunData runData) {this();this.runData = runData;Config config = runData.getConfig();this.maxDepthLogStart = config.get("task.max.depth.log",0);String logStepAtt = "log.step";String taskLogStepAtt = "log.step." + name;if (config.get(taskLogStepAtt, null) != null) {logStepAtt = taskLogStepAtt;}logStep = config.get(logStepAtt, DEFAULT_LOG_STEP);if (logStep <= 0) {logStep = Integer.MAX_VALUE;}}

// Translation:
public PerfTask(PerfRunData runData): this(){this.runData = runData;Config config = runData.Config;this.maxDepthLogStart = config.Get("task.max.depth.log", 0);string logStepAtt = "log.step";string taskLogStepAtt = "log.step." + name;if (config.Get(taskLogStepAtt, null) != null){logStepAtt = taskLogStepAtt;}m_logStep = config.Get(logStepAtt, DEFAULT_LOG_STEP);if (m_logStep <= 0){m_logStep = int.MaxValue;}}
// Original:
public void setMBPerSec(double mbPerSec) {this.mbPerSec = mbPerSec;minPauseCheckBytes = (long) ((MIN_PAUSE_CHECK_MSEC / 1000.0) * mbPerSec * 1024 * 1024);}

// Translation:
public override void SetMbPerSec(double mbPerSec){this.mbPerSec = mbPerSec;if (mbPerSec == 0)nsPerByte = 0;elsensPerByte = 1000000000.0 / (1024 * 1024 * mbPerSec);}
// Original:
public ConfirmSubscriptionRequest(String topicArn, String token, String authenticateOnUnsubscribe) {setTopicArn(topicArn);setToken(token);setAuthenticateOnUnsubscribe(authenticateOnUnsubscribe);}

// Translation:
public ConfirmSubscriptionRequest(string topicArn, string token, string authenticateOnUnsubscribe){_topicArn = topicArn;_token = token;_authenticateOnUnsubscribe = authenticateOnUnsubscribe;}
// Original:
public String getHostName() {return hostName;}

// Translation:
public virtual string GetHostName(){return hostName;}
// Original:
public StartMonitoringMemberResult startMonitoringMember(StartMonitoringMemberRequest request) {request = beforeClientExecution(request);return executeStartMonitoringMember(request);}

// Translation:
public virtual StartMonitoringMemberResponse StartMonitoringMember(StartMonitoringMemberRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartMonitoringMemberRequestMarshaller.Instance;options.ResponseUnmarshaller = StartMonitoringMemberResponseUnmarshaller.Instance;return Invoke<StartMonitoringMemberResponse>(request, options);}