AWS SDK for C++  1.9.159
AWS SDK for C++
DescribeInstanceAttributeResult.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 
38  inline const Attribute& GetAttribute() const{ return m_attribute; }
39 
43  inline void SetAttribute(const Attribute& value) { m_attribute = value; }
44 
48  inline void SetAttribute(Attribute&& value) { m_attribute = std::move(value); }
49 
53  inline DescribeInstanceAttributeResult& WithAttribute(const Attribute& value) { SetAttribute(value); return *this;}
54 
58  inline DescribeInstanceAttributeResult& WithAttribute(Attribute&& value) { SetAttribute(std::move(value)); return *this;}
59 
60  private:
61 
62  Attribute m_attribute;
63  };
64 
65 } // namespace Model
66 } // namespace Connect
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Connect::Model::DescribeInstanceAttributeResult::SetAttribute
void SetAttribute(Attribute &&value)
Definition: DescribeInstanceAttributeResult.h:48
Aws::Connect::Model::DescribeInstanceAttributeResult::WithAttribute
DescribeInstanceAttributeResult & WithAttribute(Attribute &&value)
Definition: DescribeInstanceAttributeResult.h:58
Aws::Connect::Model::DescribeInstanceAttributeResult::operator=
DescribeInstanceAttributeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Attribute.h
Aws::Connect::Model::DescribeInstanceAttributeResult
Definition: DescribeInstanceAttributeResult.h:28
Aws::Connect::Model::DescribeInstanceAttributeResult::WithAttribute
DescribeInstanceAttributeResult & WithAttribute(const Attribute &value)
Definition: DescribeInstanceAttributeResult.h:53
Aws::Connect::Model::DescribeInstanceAttributeResult::DescribeInstanceAttributeResult
DescribeInstanceAttributeResult()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::DescribeInstanceAttributeResult::SetAttribute
void SetAttribute(const Attribute &value)
Definition: DescribeInstanceAttributeResult.h:43
Aws::Connect::Model::Attribute
Definition: Attribute.h:34
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::DescribeInstanceAttributeResult::GetAttribute
const Attribute & GetAttribute() const
Definition: DescribeInstanceAttributeResult.h:38
Aws::Connect::Model::DescribeInstanceAttributeResult::DescribeInstanceAttributeResult
DescribeInstanceAttributeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)