AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AcceptSubscriptionRequestRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/AcceptedAssetScope.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DataZone
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "AcceptSubscriptionRequest"; }
33
34 AWS_DATAZONE_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::Vector<AcceptedAssetScope>& GetAssetScopes() const{ return m_assetScopes; }
42 inline bool AssetScopesHasBeenSet() const { return m_assetScopesHasBeenSet; }
43 inline void SetAssetScopes(const Aws::Vector<AcceptedAssetScope>& value) { m_assetScopesHasBeenSet = true; m_assetScopes = value; }
44 inline void SetAssetScopes(Aws::Vector<AcceptedAssetScope>&& value) { m_assetScopesHasBeenSet = true; m_assetScopes = std::move(value); }
47 inline AcceptSubscriptionRequestRequest& AddAssetScopes(const AcceptedAssetScope& value) { m_assetScopesHasBeenSet = true; m_assetScopes.push_back(value); return *this; }
48 inline AcceptSubscriptionRequestRequest& AddAssetScopes(AcceptedAssetScope&& value) { m_assetScopesHasBeenSet = true; m_assetScopes.push_back(std::move(value)); return *this; }
50
52
56 inline const Aws::String& GetDecisionComment() const{ return m_decisionComment; }
57 inline bool DecisionCommentHasBeenSet() const { return m_decisionCommentHasBeenSet; }
58 inline void SetDecisionComment(const Aws::String& value) { m_decisionCommentHasBeenSet = true; m_decisionComment = value; }
59 inline void SetDecisionComment(Aws::String&& value) { m_decisionCommentHasBeenSet = true; m_decisionComment = std::move(value); }
60 inline void SetDecisionComment(const char* value) { m_decisionCommentHasBeenSet = true; m_decisionComment.assign(value); }
62 inline AcceptSubscriptionRequestRequest& WithDecisionComment(Aws::String&& value) { SetDecisionComment(std::move(value)); return *this;}
63 inline AcceptSubscriptionRequestRequest& WithDecisionComment(const char* value) { SetDecisionComment(value); return *this;}
65
67
71 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
72 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
73 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
74 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
75 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
77 inline AcceptSubscriptionRequestRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
78 inline AcceptSubscriptionRequestRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
80
82
85 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
86 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
87 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
88 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
89 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
90 inline AcceptSubscriptionRequestRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
91 inline AcceptSubscriptionRequestRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
92 inline AcceptSubscriptionRequestRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
94 private:
95
97 bool m_assetScopesHasBeenSet = false;
98
99 Aws::String m_decisionComment;
100 bool m_decisionCommentHasBeenSet = false;
101
102 Aws::String m_domainIdentifier;
103 bool m_domainIdentifierHasBeenSet = false;
104
105 Aws::String m_identifier;
106 bool m_identifierHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace DataZone
111} // namespace Aws
AcceptSubscriptionRequestRequest & WithIdentifier(const Aws::String &value)
void SetAssetScopes(Aws::Vector< AcceptedAssetScope > &&value)
AcceptSubscriptionRequestRequest & WithAssetScopes(Aws::Vector< AcceptedAssetScope > &&value)
AcceptSubscriptionRequestRequest & WithDecisionComment(const Aws::String &value)
AcceptSubscriptionRequestRequest & AddAssetScopes(const AcceptedAssetScope &value)
AcceptSubscriptionRequestRequest & WithDomainIdentifier(Aws::String &&value)
AcceptSubscriptionRequestRequest & WithDecisionComment(Aws::String &&value)
AcceptSubscriptionRequestRequest & WithIdentifier(const char *value)
AcceptSubscriptionRequestRequest & WithDomainIdentifier(const char *value)
AcceptSubscriptionRequestRequest & AddAssetScopes(AcceptedAssetScope &&value)
AcceptSubscriptionRequestRequest & WithAssetScopes(const Aws::Vector< AcceptedAssetScope > &value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
AcceptSubscriptionRequestRequest & WithIdentifier(Aws::String &&value)
void SetAssetScopes(const Aws::Vector< AcceptedAssetScope > &value)
AcceptSubscriptionRequestRequest & WithDomainIdentifier(const Aws::String &value)
const Aws::Vector< AcceptedAssetScope > & GetAssetScopes() const
AcceptSubscriptionRequestRequest & WithDecisionComment(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector