AWS SDK for C++  1.8.71
AWS SDK for C++
GenerateDataSetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace MarketplaceCommerceAnalytics
18 {
19 namespace Model
20 {
21 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "GenerateDataSet"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
42 
43 
94  inline const DataSetType& GetDataSetType() const{ return m_dataSetType; }
95 
146  inline bool DataSetTypeHasBeenSet() const { return m_dataSetTypeHasBeenSet; }
147 
198  inline void SetDataSetType(const DataSetType& value) { m_dataSetTypeHasBeenSet = true; m_dataSetType = value; }
199 
250  inline void SetDataSetType(DataSetType&& value) { m_dataSetTypeHasBeenSet = true; m_dataSetType = std::move(value); }
251 
302  inline GenerateDataSetRequest& WithDataSetType(const DataSetType& value) { SetDataSetType(value); return *this;}
303 
354  inline GenerateDataSetRequest& WithDataSetType(DataSetType&& value) { SetDataSetType(std::move(value)); return *this;}
355 
356 
366  inline const Aws::Utils::DateTime& GetDataSetPublicationDate() const{ return m_dataSetPublicationDate; }
367 
377  inline bool DataSetPublicationDateHasBeenSet() const { return m_dataSetPublicationDateHasBeenSet; }
378 
388  inline void SetDataSetPublicationDate(const Aws::Utils::DateTime& value) { m_dataSetPublicationDateHasBeenSet = true; m_dataSetPublicationDate = value; }
389 
399  inline void SetDataSetPublicationDate(Aws::Utils::DateTime&& value) { m_dataSetPublicationDateHasBeenSet = true; m_dataSetPublicationDate = std::move(value); }
400 
410  inline GenerateDataSetRequest& WithDataSetPublicationDate(const Aws::Utils::DateTime& value) { SetDataSetPublicationDate(value); return *this;}
411 
421  inline GenerateDataSetRequest& WithDataSetPublicationDate(Aws::Utils::DateTime&& value) { SetDataSetPublicationDate(std::move(value)); return *this;}
422 
423 
428  inline const Aws::String& GetRoleNameArn() const{ return m_roleNameArn; }
429 
434  inline bool RoleNameArnHasBeenSet() const { return m_roleNameArnHasBeenSet; }
435 
440  inline void SetRoleNameArn(const Aws::String& value) { m_roleNameArnHasBeenSet = true; m_roleNameArn = value; }
441 
446  inline void SetRoleNameArn(Aws::String&& value) { m_roleNameArnHasBeenSet = true; m_roleNameArn = std::move(value); }
447 
452  inline void SetRoleNameArn(const char* value) { m_roleNameArnHasBeenSet = true; m_roleNameArn.assign(value); }
453 
458  inline GenerateDataSetRequest& WithRoleNameArn(const Aws::String& value) { SetRoleNameArn(value); return *this;}
459 
464  inline GenerateDataSetRequest& WithRoleNameArn(Aws::String&& value) { SetRoleNameArn(std::move(value)); return *this;}
465 
470  inline GenerateDataSetRequest& WithRoleNameArn(const char* value) { SetRoleNameArn(value); return *this;}
471 
472 
476  inline const Aws::String& GetDestinationS3BucketName() const{ return m_destinationS3BucketName; }
477 
481  inline bool DestinationS3BucketNameHasBeenSet() const { return m_destinationS3BucketNameHasBeenSet; }
482 
486  inline void SetDestinationS3BucketName(const Aws::String& value) { m_destinationS3BucketNameHasBeenSet = true; m_destinationS3BucketName = value; }
487 
491  inline void SetDestinationS3BucketName(Aws::String&& value) { m_destinationS3BucketNameHasBeenSet = true; m_destinationS3BucketName = std::move(value); }
492 
496  inline void SetDestinationS3BucketName(const char* value) { m_destinationS3BucketNameHasBeenSet = true; m_destinationS3BucketName.assign(value); }
497 
501  inline GenerateDataSetRequest& WithDestinationS3BucketName(const Aws::String& value) { SetDestinationS3BucketName(value); return *this;}
502 
506  inline GenerateDataSetRequest& WithDestinationS3BucketName(Aws::String&& value) { SetDestinationS3BucketName(std::move(value)); return *this;}
507 
511  inline GenerateDataSetRequest& WithDestinationS3BucketName(const char* value) { SetDestinationS3BucketName(value); return *this;}
512 
513 
522  inline const Aws::String& GetDestinationS3Prefix() const{ return m_destinationS3Prefix; }
523 
532  inline bool DestinationS3PrefixHasBeenSet() const { return m_destinationS3PrefixHasBeenSet; }
533 
542  inline void SetDestinationS3Prefix(const Aws::String& value) { m_destinationS3PrefixHasBeenSet = true; m_destinationS3Prefix = value; }
543 
552  inline void SetDestinationS3Prefix(Aws::String&& value) { m_destinationS3PrefixHasBeenSet = true; m_destinationS3Prefix = std::move(value); }
553 
562  inline void SetDestinationS3Prefix(const char* value) { m_destinationS3PrefixHasBeenSet = true; m_destinationS3Prefix.assign(value); }
563 
572  inline GenerateDataSetRequest& WithDestinationS3Prefix(const Aws::String& value) { SetDestinationS3Prefix(value); return *this;}
573 
582  inline GenerateDataSetRequest& WithDestinationS3Prefix(Aws::String&& value) { SetDestinationS3Prefix(std::move(value)); return *this;}
583 
592  inline GenerateDataSetRequest& WithDestinationS3Prefix(const char* value) { SetDestinationS3Prefix(value); return *this;}
593 
594 
599  inline const Aws::String& GetSnsTopicArn() const{ return m_snsTopicArn; }
600 
605  inline bool SnsTopicArnHasBeenSet() const { return m_snsTopicArnHasBeenSet; }
606 
611  inline void SetSnsTopicArn(const Aws::String& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = value; }
612 
617  inline void SetSnsTopicArn(Aws::String&& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = std::move(value); }
618 
623  inline void SetSnsTopicArn(const char* value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn.assign(value); }
624 
629  inline GenerateDataSetRequest& WithSnsTopicArn(const Aws::String& value) { SetSnsTopicArn(value); return *this;}
630 
635  inline GenerateDataSetRequest& WithSnsTopicArn(Aws::String&& value) { SetSnsTopicArn(std::move(value)); return *this;}
636 
641  inline GenerateDataSetRequest& WithSnsTopicArn(const char* value) { SetSnsTopicArn(value); return *this;}
642 
643 
649  inline const Aws::Map<Aws::String, Aws::String>& GetCustomerDefinedValues() const{ return m_customerDefinedValues; }
650 
656  inline bool CustomerDefinedValuesHasBeenSet() const { return m_customerDefinedValuesHasBeenSet; }
657 
663  inline void SetCustomerDefinedValues(const Aws::Map<Aws::String, Aws::String>& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues = value; }
664 
670  inline void SetCustomerDefinedValues(Aws::Map<Aws::String, Aws::String>&& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues = std::move(value); }
671 
677  inline GenerateDataSetRequest& WithCustomerDefinedValues(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomerDefinedValues(value); return *this;}
678 
684  inline GenerateDataSetRequest& WithCustomerDefinedValues(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomerDefinedValues(std::move(value)); return *this;}
685 
691  inline GenerateDataSetRequest& AddCustomerDefinedValues(const Aws::String& key, const Aws::String& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues.emplace(key, value); return *this; }
692 
698  inline GenerateDataSetRequest& AddCustomerDefinedValues(Aws::String&& key, const Aws::String& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues.emplace(std::move(key), value); return *this; }
699 
705  inline GenerateDataSetRequest& AddCustomerDefinedValues(const Aws::String& key, Aws::String&& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues.emplace(key, std::move(value)); return *this; }
706 
712  inline GenerateDataSetRequest& AddCustomerDefinedValues(Aws::String&& key, Aws::String&& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues.emplace(std::move(key), std::move(value)); return *this; }
713 
719  inline GenerateDataSetRequest& AddCustomerDefinedValues(const char* key, Aws::String&& value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues.emplace(key, std::move(value)); return *this; }
720 
726  inline GenerateDataSetRequest& AddCustomerDefinedValues(Aws::String&& key, const char* value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues.emplace(std::move(key), value); return *this; }
727 
733  inline GenerateDataSetRequest& AddCustomerDefinedValues(const char* key, const char* value) { m_customerDefinedValuesHasBeenSet = true; m_customerDefinedValues.emplace(key, value); return *this; }
734 
735  private:
736 
737  DataSetType m_dataSetType;
738  bool m_dataSetTypeHasBeenSet;
739 
740  Aws::Utils::DateTime m_dataSetPublicationDate;
741  bool m_dataSetPublicationDateHasBeenSet;
742 
743  Aws::String m_roleNameArn;
744  bool m_roleNameArnHasBeenSet;
745 
746  Aws::String m_destinationS3BucketName;
747  bool m_destinationS3BucketNameHasBeenSet;
748 
749  Aws::String m_destinationS3Prefix;
750  bool m_destinationS3PrefixHasBeenSet;
751 
752  Aws::String m_snsTopicArn;
753  bool m_snsTopicArnHasBeenSet;
754 
755  Aws::Map<Aws::String, Aws::String> m_customerDefinedValues;
756  bool m_customerDefinedValuesHasBeenSet;
757  };
758 
759 } // namespace Model
760 } // namespace MarketplaceCommerceAnalytics
761 } // 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:53
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
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)
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)
const Aws::Map< Aws::String, Aws::String > & GetCustomerDefinedValues() const
GenerateDataSetRequest & WithCustomerDefinedValues(const Aws::Map< Aws::String, Aws::String > &value)