AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDestinationResult.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/model/ExpressionType.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoTWireless
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IOTWIRELESS_API GetDestinationResult();
34
35
37
40 inline const Aws::String& GetArn() const{ return m_arn; }
41 inline void SetArn(const Aws::String& value) { m_arn = value; }
42 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
43 inline void SetArn(const char* value) { m_arn.assign(value); }
44 inline GetDestinationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline GetDestinationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline GetDestinationResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
53 inline const Aws::String& GetName() const{ return m_name; }
54 inline void SetName(const Aws::String& value) { m_name = value; }
55 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
56 inline void SetName(const char* value) { m_name.assign(value); }
57 inline GetDestinationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline GetDestinationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline GetDestinationResult& WithName(const char* value) { SetName(value); return *this;}
61
63
66 inline const Aws::String& GetExpression() const{ return m_expression; }
67 inline void SetExpression(const Aws::String& value) { m_expression = value; }
68 inline void SetExpression(Aws::String&& value) { m_expression = std::move(value); }
69 inline void SetExpression(const char* value) { m_expression.assign(value); }
70 inline GetDestinationResult& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
71 inline GetDestinationResult& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
72 inline GetDestinationResult& WithExpression(const char* value) { SetExpression(value); return *this;}
74
76
79 inline const ExpressionType& GetExpressionType() const{ return m_expressionType; }
80 inline void SetExpressionType(const ExpressionType& value) { m_expressionType = value; }
81 inline void SetExpressionType(ExpressionType&& value) { m_expressionType = std::move(value); }
82 inline GetDestinationResult& WithExpressionType(const ExpressionType& value) { SetExpressionType(value); return *this;}
83 inline GetDestinationResult& WithExpressionType(ExpressionType&& value) { SetExpressionType(std::move(value)); return *this;}
85
87
90 inline const Aws::String& GetDescription() const{ return m_description; }
91 inline void SetDescription(const Aws::String& value) { m_description = value; }
92 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
93 inline void SetDescription(const char* value) { m_description.assign(value); }
94 inline GetDestinationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
95 inline GetDestinationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
96 inline GetDestinationResult& WithDescription(const char* value) { SetDescription(value); return *this;}
98
100
103 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
104 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
105 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
106 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
107 inline GetDestinationResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
108 inline GetDestinationResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
109 inline GetDestinationResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
111
113
114 inline const Aws::String& GetRequestId() const{ return m_requestId; }
115 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
116 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
117 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
118 inline GetDestinationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
119 inline GetDestinationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
120 inline GetDestinationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
122 private:
123
124 Aws::String m_arn;
125
126 Aws::String m_name;
127
128 Aws::String m_expression;
129
130 ExpressionType m_expressionType;
131
132 Aws::String m_description;
133
134 Aws::String m_roleArn;
135
136 Aws::String m_requestId;
137 };
138
139} // namespace Model
140} // namespace IoTWireless
141} // namespace Aws
GetDestinationResult & WithRequestId(const Aws::String &value)
GetDestinationResult & WithName(const Aws::String &value)
void SetExpressionType(const ExpressionType &value)
GetDestinationResult & WithName(Aws::String &&value)
GetDestinationResult & WithName(const char *value)
AWS_IOTWIRELESS_API GetDestinationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDestinationResult & WithRoleArn(const char *value)
GetDestinationResult & WithArn(const Aws::String &value)
GetDestinationResult & WithDescription(const Aws::String &value)
GetDestinationResult & WithRequestId(Aws::String &&value)
GetDestinationResult & WithArn(const char *value)
GetDestinationResult & WithRequestId(const char *value)
GetDestinationResult & WithRoleArn(const Aws::String &value)
AWS_IOTWIRELESS_API GetDestinationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDestinationResult & WithDescription(Aws::String &&value)
GetDestinationResult & WithRoleArn(Aws::String &&value)
GetDestinationResult & WithExpression(const char *value)
GetDestinationResult & WithExpression(Aws::String &&value)
GetDestinationResult & WithDescription(const char *value)
GetDestinationResult & WithArn(Aws::String &&value)
GetDestinationResult & WithExpressionType(const ExpressionType &value)
GetDestinationResult & WithExpression(const Aws::String &value)
GetDestinationResult & WithExpressionType(ExpressionType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue