AWS SDK for C++  0.14.3
AWS SDK for C++
StartSupportDataExportRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
22 
23 namespace Aws
24 {
25 namespace MarketplaceCommerceAnalytics
26 {
27 namespace Model
28 {
29 
34  {
35  public:
37  Aws::String SerializePayload() const override;
38 
39  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40 
56  inline const SupportDataSetType& GetDataSetType() const{ return m_dataSetType; }
57 
73  inline void SetDataSetType(const SupportDataSetType& value) { m_dataSetTypeHasBeenSet = true; m_dataSetType = value; }
74 
90  inline void SetDataSetType(SupportDataSetType&& value) { m_dataSetTypeHasBeenSet = true; m_dataSetType = value; }
91 
107  inline StartSupportDataExportRequest& WithDataSetType(const SupportDataSetType& value) { SetDataSetType(value); return *this;}
108 
124  inline StartSupportDataExportRequest& WithDataSetType(SupportDataSetType&& value) { SetDataSetType(value); return *this;}
125 
130  inline const Aws::Utils::DateTime& GetFromDate() const{ return m_fromDate; }
131 
136  inline void SetFromDate(const Aws::Utils::DateTime& value) { m_fromDateHasBeenSet = true; m_fromDate = value; }
137 
142  inline void SetFromDate(Aws::Utils::DateTime&& value) { m_fromDateHasBeenSet = true; m_fromDate = value; }
143 
148  inline StartSupportDataExportRequest& WithFromDate(const Aws::Utils::DateTime& value) { SetFromDate(value); return *this;}
149 
154  inline StartSupportDataExportRequest& WithFromDate(Aws::Utils::DateTime&& value) { SetFromDate(value); return *this;}
155 
160  inline const Aws::String& GetRoleNameArn() const{ return m_roleNameArn; }
161 
166  inline void SetRoleNameArn(const Aws::String& value) { m_roleNameArnHasBeenSet = true; m_roleNameArn = value; }
167 
172  inline void SetRoleNameArn(Aws::String&& value) { m_roleNameArnHasBeenSet = true; m_roleNameArn = value; }
173 
178  inline void SetRoleNameArn(const char* value) { m_roleNameArnHasBeenSet = true; m_roleNameArn.assign(value); }
179 
184  inline StartSupportDataExportRequest& WithRoleNameArn(const Aws::String& value) { SetRoleNameArn(value); return *this;}
185 
190  inline StartSupportDataExportRequest& WithRoleNameArn(Aws::String&& value) { SetRoleNameArn(value); return *this;}
191 
196  inline StartSupportDataExportRequest& WithRoleNameArn(const char* value) { SetRoleNameArn(value); return *this;}
197 
201  inline const Aws::String& GetDestinationS3BucketName() const{ return m_destinationS3BucketName; }
202 
206  inline void SetDestinationS3BucketName(const Aws::String& value) { m_destinationS3BucketNameHasBeenSet = true; m_destinationS3BucketName = value; }
207 
211  inline void SetDestinationS3BucketName(Aws::String&& value) { m_destinationS3BucketNameHasBeenSet = true; m_destinationS3BucketName = value; }
212 
216  inline void SetDestinationS3BucketName(const char* value) { m_destinationS3BucketNameHasBeenSet = true; m_destinationS3BucketName.assign(value); }
217 
221  inline StartSupportDataExportRequest& WithDestinationS3BucketName(const Aws::String& value) { SetDestinationS3BucketName(value); return *this;}
222 
226  inline StartSupportDataExportRequest& WithDestinationS3BucketName(Aws::String&& value) { SetDestinationS3BucketName(value); return *this;}
227 
231  inline StartSupportDataExportRequest& WithDestinationS3BucketName(const char* value) { SetDestinationS3BucketName(value); return *this;}
232 
241  inline const Aws::String& GetDestinationS3Prefix() const{ return m_destinationS3Prefix; }
242 
251  inline void SetDestinationS3Prefix(const Aws::String& value) { m_destinationS3PrefixHasBeenSet = true; m_destinationS3Prefix = value; }
252 
261  inline void SetDestinationS3Prefix(Aws::String&& value) { m_destinationS3PrefixHasBeenSet = true; m_destinationS3Prefix = value; }
262 
271  inline void SetDestinationS3Prefix(const char* value) { m_destinationS3PrefixHasBeenSet = true; m_destinationS3Prefix.assign(value); }
272 
281  inline StartSupportDataExportRequest& WithDestinationS3Prefix(const Aws::String& value) { SetDestinationS3Prefix(value); return *this;}
282 
291  inline StartSupportDataExportRequest& WithDestinationS3Prefix(Aws::String&& value) { SetDestinationS3Prefix(value); return *this;}
292 
301  inline StartSupportDataExportRequest& WithDestinationS3Prefix(const char* value) { SetDestinationS3Prefix(value); return *this;}
302 
307  inline const Aws::String& GetSnsTopicArn() const{ return m_snsTopicArn; }
308 
313  inline void SetSnsTopicArn(const Aws::String& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = value; }
314 
319  inline void SetSnsTopicArn(Aws::String&& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = value; }
320 
325  inline void SetSnsTopicArn(const char* value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn.assign(value); }
326 
331  inline StartSupportDataExportRequest& WithSnsTopicArn(const Aws::String& value) { SetSnsTopicArn(value); return *this;}
332 
337  inline StartSupportDataExportRequest& WithSnsTopicArn(Aws::String&& value) { SetSnsTopicArn(value); return *this;}
338 
343  inline StartSupportDataExportRequest& WithSnsTopicArn(const char* value) { SetSnsTopicArn(value); return *this;}
344 
349  inline const Aws::Map<Aws::String, Aws::String>& GetCustomerDefinedValues() const{ return m_customerDefinedValues; }
350 
355  inline void SetCustomerDefinedValues(const Aws::Map<Aws::String, Aws::String>& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues = value; }
356 
361  inline void SetCustomerDefinedValues(Aws::Map<Aws::String, Aws::String>&& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues = value; }
362 
367  inline StartSupportDataExportRequest& WithCustomerDefinedValues(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomerDefinedValues(value); return *this;}
368 
373  inline StartSupportDataExportRequest& WithCustomerDefinedValues(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomerDefinedValues(value); return *this;}
374 
379  inline StartSupportDataExportRequest& AddCustomerDefinedValues(const Aws::String& key, const Aws::String& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues[key] = value; return *this; }
380 
385  inline StartSupportDataExportRequest& AddCustomerDefinedValues(Aws::String&& key, const Aws::String& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues[key] = value; return *this; }
386 
391  inline StartSupportDataExportRequest& AddCustomerDefinedValues(const Aws::String& key, Aws::String&& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues[key] = value; return *this; }
392 
397  inline StartSupportDataExportRequest& AddCustomerDefinedValues(Aws::String&& key, Aws::String&& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues[key] = value; return *this; }
398 
403  inline StartSupportDataExportRequest& AddCustomerDefinedValues(const char* key, Aws::String&& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues[key] = value; return *this; }
404 
409  inline StartSupportDataExportRequest& AddCustomerDefinedValues(Aws::String&& key, const char* value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues[key] = value; return *this; }
410 
415  inline StartSupportDataExportRequest& AddCustomerDefinedValues(const char* key, const char* value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues[key] = value; return *this; }
416 
417  private:
418  SupportDataSetType m_dataSetType;
419  bool m_dataSetTypeHasBeenSet;
420  Aws::Utils::DateTime m_fromDate;
421  bool m_fromDateHasBeenSet;
422  Aws::String m_roleNameArn;
423  bool m_roleNameArnHasBeenSet;
424  Aws::String m_destinationS3BucketName;
425  bool m_destinationS3BucketNameHasBeenSet;
426  Aws::String m_destinationS3Prefix;
427  bool m_destinationS3PrefixHasBeenSet;
428  Aws::String m_snsTopicArn;
429  bool m_snsTopicArnHasBeenSet;
430  Aws::Map<Aws::String, Aws::String> m_customerDefinedValues;
431  bool m_customerDefinedValuesHasBeenSet;
432  };
433 
434 } // namespace Model
435 } // namespace MarketplaceCommerceAnalytics
436 } // namespace Aws
StartSupportDataExportRequest & WithDestinationS3Prefix(Aws::String &&value)
StartSupportDataExportRequest & WithDestinationS3BucketName(Aws::String &&value)
StartSupportDataExportRequest & AddCustomerDefinedValues(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetCustomerDefinedValues() const
StartSupportDataExportRequest & AddCustomerDefinedValues(Aws::String &&key, Aws::String &&value)
StartSupportDataExportRequest & AddCustomerDefinedValues(const char *key, Aws::String &&value)
StartSupportDataExportRequest & WithDestinationS3BucketName(const Aws::String &value)
StartSupportDataExportRequest & WithRoleNameArn(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:28
StartSupportDataExportRequest & WithFromDate(const Aws::Utils::DateTime &value)
StartSupportDataExportRequest & WithDestinationS3BucketName(const char *value)
StartSupportDataExportRequest & WithDestinationS3Prefix(const Aws::String &value)
StartSupportDataExportRequest & WithDataSetType(SupportDataSetType &&value)
StartSupportDataExportRequest & WithSnsTopicArn(const Aws::String &value)
void SetCustomerDefinedValues(const Aws::Map< Aws::String, Aws::String > &value)
StartSupportDataExportRequest & AddCustomerDefinedValues(const Aws::String &key, Aws::String &&value)
StartSupportDataExportRequest & WithCustomerDefinedValues(const Aws::Map< Aws::String, Aws::String > &value)
StartSupportDataExportRequest & AddCustomerDefinedValues(Aws::String &&key, const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
StartSupportDataExportRequest & WithDataSetType(const SupportDataSetType &value)
#define AWS_MARKETPLACECOMMERCEANALYTICS_API
StartSupportDataExportRequest & AddCustomerDefinedValues(Aws::String &&key, const Aws::String &value)
StartSupportDataExportRequest & AddCustomerDefinedValues(const char *key, const char *value)
StartSupportDataExportRequest & WithCustomerDefinedValues(Aws::Map< Aws::String, Aws::String > &&value)
StartSupportDataExportRequest & WithFromDate(Aws::Utils::DateTime &&value)
JSON (JavaScript Object Notation).