AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
Destinations.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotwireless/IoTWireless_EXPORTS.h>
9#include <aws/iotwireless/model/ExpressionType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTWireless {
21namespace Model {
22
29 public:
30 AWS_IOTWIRELESS_API Destinations() = default;
31 AWS_IOTWIRELESS_API Destinations(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IOTWIRELESS_API Destinations& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
47 Destinations& WithArn(ArnT&& value) {
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
65 Destinations& WithName(NameT&& value) {
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
75 inline ExpressionType GetExpressionType() const { return m_expressionType; }
76 inline bool ExpressionTypeHasBeenSet() const { return m_expressionTypeHasBeenSet; }
77 inline void SetExpressionType(ExpressionType value) {
78 m_expressionTypeHasBeenSet = true;
79 m_expressionType = value;
80 }
82 SetExpressionType(value);
83 return *this;
84 }
86
88
91 inline const Aws::String& GetExpression() const { return m_expression; }
92 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
93 template <typename ExpressionT = Aws::String>
94 void SetExpression(ExpressionT&& value) {
95 m_expressionHasBeenSet = true;
96 m_expression = std::forward<ExpressionT>(value);
97 }
98 template <typename ExpressionT = Aws::String>
99 Destinations& WithExpression(ExpressionT&& value) {
100 SetExpression(std::forward<ExpressionT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetDescription() const { return m_description; }
110 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
111 template <typename DescriptionT = Aws::String>
112 void SetDescription(DescriptionT&& value) {
113 m_descriptionHasBeenSet = true;
114 m_description = std::forward<DescriptionT>(value);
115 }
116 template <typename DescriptionT = Aws::String>
117 Destinations& WithDescription(DescriptionT&& value) {
118 SetDescription(std::forward<DescriptionT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
128 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
129 template <typename RoleArnT = Aws::String>
130 void SetRoleArn(RoleArnT&& value) {
131 m_roleArnHasBeenSet = true;
132 m_roleArn = std::forward<RoleArnT>(value);
133 }
134 template <typename RoleArnT = Aws::String>
135 Destinations& WithRoleArn(RoleArnT&& value) {
136 SetRoleArn(std::forward<RoleArnT>(value));
137 return *this;
138 }
140 private:
141 Aws::String m_arn;
142
143 Aws::String m_name;
144
145 ExpressionType m_expressionType{ExpressionType::NOT_SET};
146
147 Aws::String m_expression;
148
149 Aws::String m_description;
150
151 Aws::String m_roleArn;
152 bool m_arnHasBeenSet = false;
153 bool m_nameHasBeenSet = false;
154 bool m_expressionTypeHasBeenSet = false;
155 bool m_expressionHasBeenSet = false;
156 bool m_descriptionHasBeenSet = false;
157 bool m_roleArnHasBeenSet = false;
158};
159
160} // namespace Model
161} // namespace IoTWireless
162} // namespace Aws
const Aws::String & GetArn() const
Destinations & WithDescription(DescriptionT &&value)
const Aws::String & GetName() const
AWS_IOTWIRELESS_API Destinations & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExpressionType(ExpressionType value)
const Aws::String & GetRoleArn() const
AWS_IOTWIRELESS_API Destinations(Aws::Utils::Json::JsonView jsonValue)
Destinations & WithExpressionType(ExpressionType value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetExpression() const
ExpressionType GetExpressionType() const
Destinations & WithArn(ArnT &&value)
AWS_IOTWIRELESS_API Destinations()=default
Destinations & WithRoleArn(RoleArnT &&value)
Destinations & WithExpression(ExpressionT &&value)
void SetExpression(ExpressionT &&value)
Destinations & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue