AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
34
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 template<typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
43 template<typename ArnT = Aws::String>
44 GetDestinationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
46
48
51 inline const Aws::String& GetName() const { return m_name; }
52 template<typename NameT = Aws::String>
53 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
54 template<typename NameT = Aws::String>
55 GetDestinationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
57
59
62 inline const Aws::String& GetExpression() const { return m_expression; }
63 template<typename ExpressionT = Aws::String>
64 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet = true; m_expression = std::forward<ExpressionT>(value); }
65 template<typename ExpressionT = Aws::String>
66 GetDestinationResult& WithExpression(ExpressionT&& value) { SetExpression(std::forward<ExpressionT>(value)); return *this;}
68
70
73 inline ExpressionType GetExpressionType() const { return m_expressionType; }
74 inline void SetExpressionType(ExpressionType value) { m_expressionTypeHasBeenSet = true; m_expressionType = value; }
77
79
82 inline const Aws::String& GetDescription() const { return m_description; }
83 template<typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
85 template<typename DescriptionT = Aws::String>
86 GetDestinationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
88
90
93 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
94 template<typename RoleArnT = Aws::String>
95 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
96 template<typename RoleArnT = Aws::String>
97 GetDestinationResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
99
101
102 inline const Aws::String& GetRequestId() const { return m_requestId; }
103 template<typename RequestIdT = Aws::String>
104 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
105 template<typename RequestIdT = Aws::String>
106 GetDestinationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
108 private:
109
110 Aws::String m_arn;
111 bool m_arnHasBeenSet = false;
112
113 Aws::String m_name;
114 bool m_nameHasBeenSet = false;
115
116 Aws::String m_expression;
117 bool m_expressionHasBeenSet = false;
118
119 ExpressionType m_expressionType{ExpressionType::NOT_SET};
120 bool m_expressionTypeHasBeenSet = false;
121
122 Aws::String m_description;
123 bool m_descriptionHasBeenSet = false;
124
125 Aws::String m_roleArn;
126 bool m_roleArnHasBeenSet = false;
127
128 Aws::String m_requestId;
129 bool m_requestIdHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace IoTWireless
134} // namespace Aws
AWS_IOTWIRELESS_API GetDestinationResult()=default
AWS_IOTWIRELESS_API GetDestinationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDestinationResult & WithExpression(ExpressionT &&value)
GetDestinationResult & WithExpressionType(ExpressionType value)
AWS_IOTWIRELESS_API GetDestinationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDestinationResult & WithName(NameT &&value)
GetDestinationResult & WithDescription(DescriptionT &&value)
GetDestinationResult & WithArn(ArnT &&value)
GetDestinationResult & WithRoleArn(RoleArnT &&value)
GetDestinationResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue