AWS SDK for C++  1.9.153
AWS SDK for C++
AssociateSecurityKeyResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Connect
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const Aws::String& GetAssociationId() const{ return m_associationId; }
40 
45  inline void SetAssociationId(const Aws::String& value) { m_associationId = value; }
46 
51  inline void SetAssociationId(Aws::String&& value) { m_associationId = std::move(value); }
52 
57  inline void SetAssociationId(const char* value) { m_associationId.assign(value); }
58 
63  inline AssociateSecurityKeyResult& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
64 
69  inline AssociateSecurityKeyResult& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
70 
75  inline AssociateSecurityKeyResult& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
76 
77  private:
78 
79  Aws::String m_associationId;
80  };
81 
82 } // namespace Model
83 } // namespace Connect
84 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Connect::Model::AssociateSecurityKeyResult::operator=
AssociateSecurityKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Connect::Model::AssociateSecurityKeyResult::WithAssociationId
AssociateSecurityKeyResult & WithAssociationId(Aws::String &&value)
Definition: AssociateSecurityKeyResult.h:69
Aws::Connect::Model::AssociateSecurityKeyResult::SetAssociationId
void SetAssociationId(const Aws::String &value)
Definition: AssociateSecurityKeyResult.h:45
Aws::Connect::Model::AssociateSecurityKeyResult::SetAssociationId
void SetAssociationId(const char *value)
Definition: AssociateSecurityKeyResult.h:57
Aws::Connect::Model::AssociateSecurityKeyResult::SetAssociationId
void SetAssociationId(Aws::String &&value)
Definition: AssociateSecurityKeyResult.h:51
AWSString.h
Aws::Connect::Model::AssociateSecurityKeyResult::GetAssociationId
const Aws::String & GetAssociationId() const
Definition: AssociateSecurityKeyResult.h:39
Aws::Connect::Model::AssociateSecurityKeyResult::AssociateSecurityKeyResult
AssociateSecurityKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::AssociateSecurityKeyResult
Definition: AssociateSecurityKeyResult.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::AssociateSecurityKeyResult::WithAssociationId
AssociateSecurityKeyResult & WithAssociationId(const char *value)
Definition: AssociateSecurityKeyResult.h:75
Aws::Connect::Model::AssociateSecurityKeyResult::WithAssociationId
AssociateSecurityKeyResult & WithAssociationId(const Aws::String &value)
Definition: AssociateSecurityKeyResult.h:63
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::AssociateSecurityKeyResult::AssociateSecurityKeyResult
AssociateSecurityKeyResult()