AWS SDK for C++  1.9.106
AWS SDK for C++
AssociateAwsAccountWithPartnerAccountRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 #include <aws/core/utils/UUID.h>
15 
16 namespace Aws
17 {
18 namespace IoTWireless
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "AssociateAwsAccountWithPartnerAccount"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const SidewalkAccountInfo& GetSidewalk() const{ return m_sidewalk; }
43 
47  inline bool SidewalkHasBeenSet() const { return m_sidewalkHasBeenSet; }
48 
52  inline void SetSidewalk(const SidewalkAccountInfo& value) { m_sidewalkHasBeenSet = true; m_sidewalk = value; }
53 
57  inline void SetSidewalk(SidewalkAccountInfo&& value) { m_sidewalkHasBeenSet = true; m_sidewalk = std::move(value); }
58 
62  inline AssociateAwsAccountWithPartnerAccountRequest& WithSidewalk(const SidewalkAccountInfo& value) { SetSidewalk(value); return *this;}
63 
67  inline AssociateAwsAccountWithPartnerAccountRequest& WithSidewalk(SidewalkAccountInfo&& value) { SetSidewalk(std::move(value)); return *this;}
68 
69 
76  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
77 
84  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
85 
92  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
93 
100  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
101 
108  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
109 
116  inline AssociateAwsAccountWithPartnerAccountRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
117 
124  inline AssociateAwsAccountWithPartnerAccountRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
125 
132  inline AssociateAwsAccountWithPartnerAccountRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
133 
134 
139  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
140 
145  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
146 
151  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
152 
157  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
158 
163  inline AssociateAwsAccountWithPartnerAccountRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
164 
169  inline AssociateAwsAccountWithPartnerAccountRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
170 
175  inline AssociateAwsAccountWithPartnerAccountRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
176 
181  inline AssociateAwsAccountWithPartnerAccountRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
182 
183  private:
184 
185  SidewalkAccountInfo m_sidewalk;
186  bool m_sidewalkHasBeenSet;
187 
188  Aws::String m_clientRequestToken;
189  bool m_clientRequestTokenHasBeenSet;
190 
191  Aws::Vector<Tag> m_tags;
192  bool m_tagsHasBeenSet;
193  };
194 
195 } // namespace Model
196 } // namespace IoTWireless
197 } // namespace Aws
Tag.h
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::WithClientRequestToken
AssociateAwsAccountWithPartnerAccountRequest & WithClientRequestToken(Aws::String &&value)
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:124
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::SidewalkHasBeenSet
bool SidewalkHasBeenSet() const
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:47
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::WithSidewalk
AssociateAwsAccountWithPartnerAccountRequest & WithSidewalk(const SidewalkAccountInfo &value)
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:62
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:100
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::SetSidewalk
void SetSidewalk(SidewalkAccountInfo &&value)
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:57
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:139
AWSVector.h
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::GetSidewalk
const SidewalkAccountInfo & GetSidewalk() const
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:42
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:34
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:145
Aws::IoTWireless::Model::SidewalkAccountInfo
Definition: SidewalkAccountInfo.h:32
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:84
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:92
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::AssociateAwsAccountWithPartnerAccountRequest
AssociateAwsAccountWithPartnerAccountRequest()
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:76
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::AddTags
AssociateAwsAccountWithPartnerAccountRequest & AddTags(Tag &&value)
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:181
Aws::IoTWireless::IoTWirelessRequest
Definition: IoTWirelessRequest.h:17
Aws::IoTWireless::Model::Tag
Definition: Tag.h:33
AWSString.h
SidewalkAccountInfo.h
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:157
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::WithTags
AssociateAwsAccountWithPartnerAccountRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:169
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::WithTags
AssociateAwsAccountWithPartnerAccountRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:163
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::SetSidewalk
void SetSidewalk(const SidewalkAccountInfo &value)
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:52
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::WithClientRequestToken
AssociateAwsAccountWithPartnerAccountRequest & WithClientRequestToken(const Aws::String &value)
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:116
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::WithClientRequestToken
AssociateAwsAccountWithPartnerAccountRequest & WithClientRequestToken(const char *value)
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:132
Aws
Definition: AccessManagementClient.h:15
IoTWirelessRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:108
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:26
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:151
UUID.h
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::WithSidewalk
AssociateAwsAccountWithPartnerAccountRequest & WithSidewalk(SidewalkAccountInfo &&value)
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:67
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountRequest::AddTags
AssociateAwsAccountWithPartnerAccountRequest & AddTags(const Tag &value)
Definition: AssociateAwsAccountWithPartnerAccountRequest.h:175