AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceIdentifier.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/PolicyVersionIdentifier.h>
10#include <aws/iot/model/IssuerCertificateIdentifier.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoT
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOT_API ResourceIdentifier();
41
42
44
47 inline const Aws::String& GetDeviceCertificateId() const{ return m_deviceCertificateId; }
48 inline bool DeviceCertificateIdHasBeenSet() const { return m_deviceCertificateIdHasBeenSet; }
49 inline void SetDeviceCertificateId(const Aws::String& value) { m_deviceCertificateIdHasBeenSet = true; m_deviceCertificateId = value; }
50 inline void SetDeviceCertificateId(Aws::String&& value) { m_deviceCertificateIdHasBeenSet = true; m_deviceCertificateId = std::move(value); }
51 inline void SetDeviceCertificateId(const char* value) { m_deviceCertificateIdHasBeenSet = true; m_deviceCertificateId.assign(value); }
53 inline ResourceIdentifier& WithDeviceCertificateId(Aws::String&& value) { SetDeviceCertificateId(std::move(value)); return *this;}
54 inline ResourceIdentifier& WithDeviceCertificateId(const char* value) { SetDeviceCertificateId(value); return *this;}
56
58
61 inline const Aws::String& GetCaCertificateId() const{ return m_caCertificateId; }
62 inline bool CaCertificateIdHasBeenSet() const { return m_caCertificateIdHasBeenSet; }
63 inline void SetCaCertificateId(const Aws::String& value) { m_caCertificateIdHasBeenSet = true; m_caCertificateId = value; }
64 inline void SetCaCertificateId(Aws::String&& value) { m_caCertificateIdHasBeenSet = true; m_caCertificateId = std::move(value); }
65 inline void SetCaCertificateId(const char* value) { m_caCertificateIdHasBeenSet = true; m_caCertificateId.assign(value); }
66 inline ResourceIdentifier& WithCaCertificateId(const Aws::String& value) { SetCaCertificateId(value); return *this;}
67 inline ResourceIdentifier& WithCaCertificateId(Aws::String&& value) { SetCaCertificateId(std::move(value)); return *this;}
68 inline ResourceIdentifier& WithCaCertificateId(const char* value) { SetCaCertificateId(value); return *this;}
70
72
75 inline const Aws::String& GetCognitoIdentityPoolId() const{ return m_cognitoIdentityPoolId; }
76 inline bool CognitoIdentityPoolIdHasBeenSet() const { return m_cognitoIdentityPoolIdHasBeenSet; }
77 inline void SetCognitoIdentityPoolId(const Aws::String& value) { m_cognitoIdentityPoolIdHasBeenSet = true; m_cognitoIdentityPoolId = value; }
78 inline void SetCognitoIdentityPoolId(Aws::String&& value) { m_cognitoIdentityPoolIdHasBeenSet = true; m_cognitoIdentityPoolId = std::move(value); }
79 inline void SetCognitoIdentityPoolId(const char* value) { m_cognitoIdentityPoolIdHasBeenSet = true; m_cognitoIdentityPoolId.assign(value); }
81 inline ResourceIdentifier& WithCognitoIdentityPoolId(Aws::String&& value) { SetCognitoIdentityPoolId(std::move(value)); return *this;}
82 inline ResourceIdentifier& WithCognitoIdentityPoolId(const char* value) { SetCognitoIdentityPoolId(value); return *this;}
84
86
89 inline const Aws::String& GetClientId() const{ return m_clientId; }
90 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
91 inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
92 inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
93 inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
94 inline ResourceIdentifier& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
95 inline ResourceIdentifier& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
96 inline ResourceIdentifier& WithClientId(const char* value) { SetClientId(value); return *this;}
98
100
103 inline const PolicyVersionIdentifier& GetPolicyVersionIdentifier() const{ return m_policyVersionIdentifier; }
104 inline bool PolicyVersionIdentifierHasBeenSet() const { return m_policyVersionIdentifierHasBeenSet; }
105 inline void SetPolicyVersionIdentifier(const PolicyVersionIdentifier& value) { m_policyVersionIdentifierHasBeenSet = true; m_policyVersionIdentifier = value; }
106 inline void SetPolicyVersionIdentifier(PolicyVersionIdentifier&& value) { m_policyVersionIdentifierHasBeenSet = true; m_policyVersionIdentifier = std::move(value); }
110
112
115 inline const Aws::String& GetAccount() const{ return m_account; }
116 inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; }
117 inline void SetAccount(const Aws::String& value) { m_accountHasBeenSet = true; m_account = value; }
118 inline void SetAccount(Aws::String&& value) { m_accountHasBeenSet = true; m_account = std::move(value); }
119 inline void SetAccount(const char* value) { m_accountHasBeenSet = true; m_account.assign(value); }
120 inline ResourceIdentifier& WithAccount(const Aws::String& value) { SetAccount(value); return *this;}
121 inline ResourceIdentifier& WithAccount(Aws::String&& value) { SetAccount(std::move(value)); return *this;}
122 inline ResourceIdentifier& WithAccount(const char* value) { SetAccount(value); return *this;}
124
126
129 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
130 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
131 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
132 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
133 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
134 inline ResourceIdentifier& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
135 inline ResourceIdentifier& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
136 inline ResourceIdentifier& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
138
140
143 inline const Aws::String& GetRoleAliasArn() const{ return m_roleAliasArn; }
144 inline bool RoleAliasArnHasBeenSet() const { return m_roleAliasArnHasBeenSet; }
145 inline void SetRoleAliasArn(const Aws::String& value) { m_roleAliasArnHasBeenSet = true; m_roleAliasArn = value; }
146 inline void SetRoleAliasArn(Aws::String&& value) { m_roleAliasArnHasBeenSet = true; m_roleAliasArn = std::move(value); }
147 inline void SetRoleAliasArn(const char* value) { m_roleAliasArnHasBeenSet = true; m_roleAliasArn.assign(value); }
148 inline ResourceIdentifier& WithRoleAliasArn(const Aws::String& value) { SetRoleAliasArn(value); return *this;}
149 inline ResourceIdentifier& WithRoleAliasArn(Aws::String&& value) { SetRoleAliasArn(std::move(value)); return *this;}
150 inline ResourceIdentifier& WithRoleAliasArn(const char* value) { SetRoleAliasArn(value); return *this;}
152
154
157 inline const IssuerCertificateIdentifier& GetIssuerCertificateIdentifier() const{ return m_issuerCertificateIdentifier; }
158 inline bool IssuerCertificateIdentifierHasBeenSet() const { return m_issuerCertificateIdentifierHasBeenSet; }
159 inline void SetIssuerCertificateIdentifier(const IssuerCertificateIdentifier& value) { m_issuerCertificateIdentifierHasBeenSet = true; m_issuerCertificateIdentifier = value; }
160 inline void SetIssuerCertificateIdentifier(IssuerCertificateIdentifier&& value) { m_issuerCertificateIdentifierHasBeenSet = true; m_issuerCertificateIdentifier = std::move(value); }
164
166
169 inline const Aws::String& GetDeviceCertificateArn() const{ return m_deviceCertificateArn; }
170 inline bool DeviceCertificateArnHasBeenSet() const { return m_deviceCertificateArnHasBeenSet; }
171 inline void SetDeviceCertificateArn(const Aws::String& value) { m_deviceCertificateArnHasBeenSet = true; m_deviceCertificateArn = value; }
172 inline void SetDeviceCertificateArn(Aws::String&& value) { m_deviceCertificateArnHasBeenSet = true; m_deviceCertificateArn = std::move(value); }
173 inline void SetDeviceCertificateArn(const char* value) { m_deviceCertificateArnHasBeenSet = true; m_deviceCertificateArn.assign(value); }
175 inline ResourceIdentifier& WithDeviceCertificateArn(Aws::String&& value) { SetDeviceCertificateArn(std::move(value)); return *this;}
176 inline ResourceIdentifier& WithDeviceCertificateArn(const char* value) { SetDeviceCertificateArn(value); return *this;}
178 private:
179
180 Aws::String m_deviceCertificateId;
181 bool m_deviceCertificateIdHasBeenSet = false;
182
183 Aws::String m_caCertificateId;
184 bool m_caCertificateIdHasBeenSet = false;
185
186 Aws::String m_cognitoIdentityPoolId;
187 bool m_cognitoIdentityPoolIdHasBeenSet = false;
188
189 Aws::String m_clientId;
190 bool m_clientIdHasBeenSet = false;
191
192 PolicyVersionIdentifier m_policyVersionIdentifier;
193 bool m_policyVersionIdentifierHasBeenSet = false;
194
195 Aws::String m_account;
196 bool m_accountHasBeenSet = false;
197
198 Aws::String m_iamRoleArn;
199 bool m_iamRoleArnHasBeenSet = false;
200
201 Aws::String m_roleAliasArn;
202 bool m_roleAliasArnHasBeenSet = false;
203
204 IssuerCertificateIdentifier m_issuerCertificateIdentifier;
205 bool m_issuerCertificateIdentifierHasBeenSet = false;
206
207 Aws::String m_deviceCertificateArn;
208 bool m_deviceCertificateArnHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace IoT
213} // namespace Aws
void SetDeviceCertificateId(Aws::String &&value)
void SetDeviceCertificateArn(const Aws::String &value)
ResourceIdentifier & WithDeviceCertificateArn(const Aws::String &value)
void SetIamRoleArn(const Aws::String &value)
ResourceIdentifier & WithClientId(const Aws::String &value)
ResourceIdentifier & WithClientId(const char *value)
ResourceIdentifier & WithRoleAliasArn(const char *value)
void SetDeviceCertificateArn(const char *value)
ResourceIdentifier & WithCaCertificateId(Aws::String &&value)
ResourceIdentifier & WithDeviceCertificateId(const Aws::String &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const PolicyVersionIdentifier & GetPolicyVersionIdentifier() const
ResourceIdentifier & WithDeviceCertificateArn(Aws::String &&value)
ResourceIdentifier & WithDeviceCertificateArn(const char *value)
void SetRoleAliasArn(const Aws::String &value)
const Aws::String & GetClientId() const
AWS_IOT_API ResourceIdentifier(Aws::Utils::Json::JsonView jsonValue)
void SetAccount(const Aws::String &value)
ResourceIdentifier & WithCognitoIdentityPoolId(const Aws::String &value)
void SetPolicyVersionIdentifier(PolicyVersionIdentifier &&value)
ResourceIdentifier & WithAccount(const char *value)
void SetIssuerCertificateIdentifier(const IssuerCertificateIdentifier &value)
const IssuerCertificateIdentifier & GetIssuerCertificateIdentifier() const
void SetIssuerCertificateIdentifier(IssuerCertificateIdentifier &&value)
void SetCognitoIdentityPoolId(Aws::String &&value)
const Aws::String & GetCognitoIdentityPoolId() const
void SetDeviceCertificateId(const Aws::String &value)
ResourceIdentifier & WithRoleAliasArn(const Aws::String &value)
void SetDeviceCertificateId(const char *value)
void SetCognitoIdentityPoolId(const Aws::String &value)
ResourceIdentifier & WithCaCertificateId(const Aws::String &value)
ResourceIdentifier & WithCaCertificateId(const char *value)
const Aws::String & GetCaCertificateId() const
ResourceIdentifier & WithClientId(Aws::String &&value)
ResourceIdentifier & WithAccount(Aws::String &&value)
void SetDeviceCertificateArn(Aws::String &&value)
void SetCaCertificateId(const char *value)
ResourceIdentifier & WithDeviceCertificateId(const char *value)
void SetPolicyVersionIdentifier(const PolicyVersionIdentifier &value)
ResourceIdentifier & WithCognitoIdentityPoolId(const char *value)
void SetCognitoIdentityPoolId(const char *value)
ResourceIdentifier & WithPolicyVersionIdentifier(PolicyVersionIdentifier &&value)
const Aws::String & GetAccount() const
const Aws::String & GetDeviceCertificateId() const
ResourceIdentifier & WithDeviceCertificateId(Aws::String &&value)
const Aws::String & GetRoleAliasArn() const
AWS_IOT_API ResourceIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceIdentifier & WithIamRoleArn(const Aws::String &value)
void SetRoleAliasArn(Aws::String &&value)
void SetClientId(const Aws::String &value)
ResourceIdentifier & WithIssuerCertificateIdentifier(IssuerCertificateIdentifier &&value)
ResourceIdentifier & WithPolicyVersionIdentifier(const PolicyVersionIdentifier &value)
void SetCaCertificateId(const Aws::String &value)
const Aws::String & GetIamRoleArn() const
const Aws::String & GetDeviceCertificateArn() const
ResourceIdentifier & WithIamRoleArn(const char *value)
void SetIamRoleArn(Aws::String &&value)
ResourceIdentifier & WithCognitoIdentityPoolId(Aws::String &&value)
ResourceIdentifier & WithRoleAliasArn(Aws::String &&value)
ResourceIdentifier & WithAccount(const Aws::String &value)
void SetCaCertificateId(Aws::String &&value)
ResourceIdentifier & WithIssuerCertificateIdentifier(const IssuerCertificateIdentifier &value)
void SetClientId(Aws::String &&value)
ResourceIdentifier & WithIamRoleArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue