AWS SDK for C++  0.12.9
AWS SDK for C++
GenerateDataSetRequest.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 
80  inline const DataSetType& GetDataSetType() const{ return m_dataSetType; }
81 
121  inline void SetDataSetType(const DataSetType& value) { m_dataSetTypeHasBeenSet = true; m_dataSetType = value; }
122 
162  inline void SetDataSetType(DataSetType&& value) { m_dataSetTypeHasBeenSet = true; m_dataSetType = value; }
163 
203  inline GenerateDataSetRequest& WithDataSetType(const DataSetType& value) { SetDataSetType(value); return *this;}
204 
244  inline GenerateDataSetRequest& WithDataSetType(DataSetType&& value) { SetDataSetType(value); return *this;}
245 
253  inline const Aws::Utils::DateTime& GetDataSetPublicationDate() const{ return m_dataSetPublicationDate; }
254 
262  inline void SetDataSetPublicationDate(const Aws::Utils::DateTime& value) { m_dataSetPublicationDateHasBeenSet = true; m_dataSetPublicationDate = value; }
263 
271  inline void SetDataSetPublicationDate(Aws::Utils::DateTime&& value) { m_dataSetPublicationDateHasBeenSet = true; m_dataSetPublicationDate = value; }
272 
280  inline GenerateDataSetRequest& WithDataSetPublicationDate(const Aws::Utils::DateTime& value) { SetDataSetPublicationDate(value); return *this;}
281 
289  inline GenerateDataSetRequest& WithDataSetPublicationDate(Aws::Utils::DateTime&& value) { SetDataSetPublicationDate(value); return *this;}
290 
295  inline const Aws::String& GetRoleNameArn() const{ return m_roleNameArn; }
296 
301  inline void SetRoleNameArn(const Aws::String& value) { m_roleNameArnHasBeenSet = true; m_roleNameArn = value; }
302 
307  inline void SetRoleNameArn(Aws::String&& value) { m_roleNameArnHasBeenSet = true; m_roleNameArn = value; }
308 
313  inline void SetRoleNameArn(const char* value) { m_roleNameArnHasBeenSet = true; m_roleNameArn.assign(value); }
314 
319  inline GenerateDataSetRequest& WithRoleNameArn(const Aws::String& value) { SetRoleNameArn(value); return *this;}
320 
325  inline GenerateDataSetRequest& WithRoleNameArn(Aws::String&& value) { SetRoleNameArn(value); return *this;}
326 
331  inline GenerateDataSetRequest& WithRoleNameArn(const char* value) { SetRoleNameArn(value); return *this;}
332 
336  inline const Aws::String& GetDestinationS3BucketName() const{ return m_destinationS3BucketName; }
337 
341  inline void SetDestinationS3BucketName(const Aws::String& value) { m_destinationS3BucketNameHasBeenSet = true; m_destinationS3BucketName = value; }
342 
346  inline void SetDestinationS3BucketName(Aws::String&& value) { m_destinationS3BucketNameHasBeenSet = true; m_destinationS3BucketName = value; }
347 
351  inline void SetDestinationS3BucketName(const char* value) { m_destinationS3BucketNameHasBeenSet = true; m_destinationS3BucketName.assign(value); }
352 
356  inline GenerateDataSetRequest& WithDestinationS3BucketName(const Aws::String& value) { SetDestinationS3BucketName(value); return *this;}
357 
361  inline GenerateDataSetRequest& WithDestinationS3BucketName(Aws::String&& value) { SetDestinationS3BucketName(value); return *this;}
362 
366  inline GenerateDataSetRequest& WithDestinationS3BucketName(const char* value) { SetDestinationS3BucketName(value); return *this;}
367 
376  inline const Aws::String& GetDestinationS3Prefix() const{ return m_destinationS3Prefix; }
377 
386  inline void SetDestinationS3Prefix(const Aws::String& value) { m_destinationS3PrefixHasBeenSet = true; m_destinationS3Prefix = value; }
387 
396  inline void SetDestinationS3Prefix(Aws::String&& value) { m_destinationS3PrefixHasBeenSet = true; m_destinationS3Prefix = value; }
397 
406  inline void SetDestinationS3Prefix(const char* value) { m_destinationS3PrefixHasBeenSet = true; m_destinationS3Prefix.assign(value); }
407 
416  inline GenerateDataSetRequest& WithDestinationS3Prefix(const Aws::String& value) { SetDestinationS3Prefix(value); return *this;}
417 
426  inline GenerateDataSetRequest& WithDestinationS3Prefix(Aws::String&& value) { SetDestinationS3Prefix(value); return *this;}
427 
436  inline GenerateDataSetRequest& WithDestinationS3Prefix(const char* value) { SetDestinationS3Prefix(value); return *this;}
437 
442  inline const Aws::String& GetSnsTopicArn() const{ return m_snsTopicArn; }
443 
448  inline void SetSnsTopicArn(const Aws::String& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = value; }
449 
454  inline void SetSnsTopicArn(Aws::String&& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = value; }
455 
460  inline void SetSnsTopicArn(const char* value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn.assign(value); }
461 
466  inline GenerateDataSetRequest& WithSnsTopicArn(const Aws::String& value) { SetSnsTopicArn(value); return *this;}
467 
472  inline GenerateDataSetRequest& WithSnsTopicArn(Aws::String&& value) { SetSnsTopicArn(value); return *this;}
473 
478  inline GenerateDataSetRequest& WithSnsTopicArn(const char* value) { SetSnsTopicArn(value); return *this;}
479 
485  inline const Aws::Map<Aws::String, Aws::String>& GetCustomerDefinedValues() const{ return m_customerDefinedValues; }
486 
492  inline void SetCustomerDefinedValues(const Aws::Map<Aws::String, Aws::String>& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues = value; }
493 
499  inline void SetCustomerDefinedValues(Aws::Map<Aws::String, Aws::String>&& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues = value; }
500 
506  inline GenerateDataSetRequest& WithCustomerDefinedValues(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomerDefinedValues(value); return *this;}
507 
513  inline GenerateDataSetRequest& WithCustomerDefinedValues(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomerDefinedValues(value); return *this;}
514 
520  inline GenerateDataSetRequest& AddCustomerDefinedValues(const Aws::String& key, const Aws::String& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues[key] = value; return *this; }
521 
527  inline GenerateDataSetRequest& AddCustomerDefinedValues(Aws::String&& key, const Aws::String& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues[key] = value; return *this; }
528 
534  inline GenerateDataSetRequest& AddCustomerDefinedValues(const Aws::String& key, Aws::String&& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues[key] = value; return *this; }
535 
541  inline GenerateDataSetRequest& AddCustomerDefinedValues(Aws::String&& key, Aws::String&& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues[key] = value; return *this; }
542 
548  inline GenerateDataSetRequest& AddCustomerDefinedValues(const char* key, Aws::String&& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues[key] = value; return *this; }
549 
555  inline GenerateDataSetRequest& AddCustomerDefinedValues(Aws::String&& key, const char* value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues[key] = value; return *this; }
556 
562  inline GenerateDataSetRequest& AddCustomerDefinedValues(const char* key, const char* value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues[key] = value; return *this; }
563 
564  private:
565  DataSetType m_dataSetType;
566  bool m_dataSetTypeHasBeenSet;
567  Aws::Utils::DateTime m_dataSetPublicationDate;
568  bool m_dataSetPublicationDateHasBeenSet;
569  Aws::String m_roleNameArn;
570  bool m_roleNameArnHasBeenSet;
571  Aws::String m_destinationS3BucketName;
572  bool m_destinationS3BucketNameHasBeenSet;
573  Aws::String m_destinationS3Prefix;
574  bool m_destinationS3PrefixHasBeenSet;
575  Aws::String m_snsTopicArn;
576  bool m_snsTopicArnHasBeenSet;
577  Aws::Map<Aws::String, Aws::String> m_customerDefinedValues;
578  bool m_customerDefinedValuesHasBeenSet;
579  };
580 
581 } // namespace Model
582 } // namespace MarketplaceCommerceAnalytics
583 } // namespace Aws
GenerateDataSetRequest & AddCustomerDefinedValues(Aws::String &&key, Aws::String &&value)
GenerateDataSetRequest & WithDataSetType(DataSetType &&value)
GenerateDataSetRequest & AddCustomerDefinedValues(Aws::String &&key, const char *value)
GenerateDataSetRequest & AddCustomerDefinedValues(const char *key, const char *value)
void SetCustomerDefinedValues(Aws::Map< Aws::String, Aws::String > &&value)
GenerateDataSetRequest & WithSnsTopicArn(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
GenerateDataSetRequest & WithRoleNameArn(const Aws::String &value)
GenerateDataSetRequest & WithDestinationS3Prefix(Aws::String &&value)
GenerateDataSetRequest & WithRoleNameArn(Aws::String &&value)
GenerateDataSetRequest & WithDestinationS3BucketName(const Aws::String &value)
GenerateDataSetRequest & WithDataSetType(const DataSetType &value)
GenerateDataSetRequest & WithSnsTopicArn(Aws::String &&value)
void SetCustomerDefinedValues(const Aws::Map< Aws::String, Aws::String > &value)
GenerateDataSetRequest & WithDestinationS3BucketName(Aws::String &&value)
GenerateDataSetRequest & WithDestinationS3BucketName(const char *value)
GenerateDataSetRequest & AddCustomerDefinedValues(Aws::String &&key, const Aws::String &value)
GenerateDataSetRequest & WithCustomerDefinedValues(Aws::Map< Aws::String, Aws::String > &&value)
GenerateDataSetRequest & WithDestinationS3Prefix(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetCustomerDefinedValues() const
GenerateDataSetRequest & AddCustomerDefinedValues(const Aws::String &key, const Aws::String &value)
GenerateDataSetRequest & AddCustomerDefinedValues(const char *key, Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GenerateDataSetRequest & AddCustomerDefinedValues(const Aws::String &key, Aws::String &&value)
#define AWS_MARKETPLACECOMMERCEANALYTICS_API
GenerateDataSetRequest & WithDestinationS3Prefix(const char *value)
GenerateDataSetRequest & WithDataSetPublicationDate(Aws::Utils::DateTime &&value)
GenerateDataSetRequest & WithDataSetPublicationDate(const Aws::Utils::DateTime &value)
GenerateDataSetRequest & WithCustomerDefinedValues(const Aws::Map< Aws::String, Aws::String > &value)
JSON (JavaScript Object Notation).