AWS SDK for C++  1.9.108
AWS SDK for C++
AssociateAwsAccountWithPartnerAccountResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoTWireless
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const SidewalkAccountInfo& GetSidewalk() const{ return m_sidewalk; }
40 
44  inline void SetSidewalk(const SidewalkAccountInfo& value) { m_sidewalk = value; }
45 
49  inline void SetSidewalk(SidewalkAccountInfo&& value) { m_sidewalk = std::move(value); }
50 
54  inline AssociateAwsAccountWithPartnerAccountResult& WithSidewalk(const SidewalkAccountInfo& value) { SetSidewalk(value); return *this;}
55 
59  inline AssociateAwsAccountWithPartnerAccountResult& WithSidewalk(SidewalkAccountInfo&& value) { SetSidewalk(std::move(value)); return *this;}
60 
61 
65  inline const Aws::String& GetArn() const{ return m_arn; }
66 
70  inline void SetArn(const Aws::String& value) { m_arn = value; }
71 
75  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
76 
80  inline void SetArn(const char* value) { m_arn.assign(value); }
81 
85  inline AssociateAwsAccountWithPartnerAccountResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
86 
90  inline AssociateAwsAccountWithPartnerAccountResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
91 
95  inline AssociateAwsAccountWithPartnerAccountResult& WithArn(const char* value) { SetArn(value); return *this;}
96 
97  private:
98 
99  SidewalkAccountInfo m_sidewalk;
100 
101  Aws::String m_arn;
102  };
103 
104 } // namespace Model
105 } // namespace IoTWireless
106 } // namespace Aws
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountResult::GetArn
const Aws::String & GetArn() const
Definition: AssociateAwsAccountWithPartnerAccountResult.h:65
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountResult::SetArn
void SetArn(const Aws::String &value)
Definition: AssociateAwsAccountWithPartnerAccountResult.h:70
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountResult::SetSidewalk
void SetSidewalk(SidewalkAccountInfo &&value)
Definition: AssociateAwsAccountWithPartnerAccountResult.h:49
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountResult
Definition: AssociateAwsAccountWithPartnerAccountResult.h:29
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountResult::WithArn
AssociateAwsAccountWithPartnerAccountResult & WithArn(const char *value)
Definition: AssociateAwsAccountWithPartnerAccountResult.h:95
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountResult::operator=
AssociateAwsAccountWithPartnerAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountResult::GetSidewalk
const SidewalkAccountInfo & GetSidewalk() const
Definition: AssociateAwsAccountWithPartnerAccountResult.h:39
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountResult::WithArn
AssociateAwsAccountWithPartnerAccountResult & WithArn(const Aws::String &value)
Definition: AssociateAwsAccountWithPartnerAccountResult.h:85
Aws::IoTWireless::Model::SidewalkAccountInfo
Definition: SidewalkAccountInfo.h:32
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountResult::WithArn
AssociateAwsAccountWithPartnerAccountResult & WithArn(Aws::String &&value)
Definition: AssociateAwsAccountWithPartnerAccountResult.h:90
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountResult::WithSidewalk
AssociateAwsAccountWithPartnerAccountResult & WithSidewalk(SidewalkAccountInfo &&value)
Definition: AssociateAwsAccountWithPartnerAccountResult.h:59
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountResult::WithSidewalk
AssociateAwsAccountWithPartnerAccountResult & WithSidewalk(const SidewalkAccountInfo &value)
Definition: AssociateAwsAccountWithPartnerAccountResult.h:54
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountResult::SetArn
void SetArn(const char *value)
Definition: AssociateAwsAccountWithPartnerAccountResult.h:80
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountResult::AssociateAwsAccountWithPartnerAccountResult
AssociateAwsAccountWithPartnerAccountResult()
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountResult::SetArn
void SetArn(Aws::String &&value)
Definition: AssociateAwsAccountWithPartnerAccountResult.h:75
AWSString.h
SidewalkAccountInfo.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountResult::AssociateAwsAccountWithPartnerAccountResult
AssociateAwsAccountWithPartnerAccountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::AssociateAwsAccountWithPartnerAccountResult::SetSidewalk
void SetSidewalk(const SidewalkAccountInfo &value)
Definition: AssociateAwsAccountWithPartnerAccountResult.h:44