AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Destinations.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{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTWireless
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOTWIRELESS_API Destinations() = default;
36 AWS_IOTWIRELESS_API Destinations(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTWIRELESS_API Destinations& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const { return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 template<typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
49 template<typename ArnT = Aws::String>
50 Destinations& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
61 template<typename NameT = Aws::String>
62 Destinations& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
64
66
69 inline ExpressionType GetExpressionType() const { return m_expressionType; }
70 inline bool ExpressionTypeHasBeenSet() const { return m_expressionTypeHasBeenSet; }
71 inline void SetExpressionType(ExpressionType value) { m_expressionTypeHasBeenSet = true; m_expressionType = value; }
72 inline Destinations& WithExpressionType(ExpressionType value) { SetExpressionType(value); return *this;}
74
76
79 inline const Aws::String& GetExpression() const { return m_expression; }
80 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
81 template<typename ExpressionT = Aws::String>
82 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet = true; m_expression = std::forward<ExpressionT>(value); }
83 template<typename ExpressionT = Aws::String>
84 Destinations& WithExpression(ExpressionT&& value) { SetExpression(std::forward<ExpressionT>(value)); return *this;}
86
88
91 inline const Aws::String& GetDescription() const { return m_description; }
92 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
93 template<typename DescriptionT = Aws::String>
94 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
95 template<typename DescriptionT = Aws::String>
96 Destinations& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
98
100
103 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
104 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
105 template<typename RoleArnT = Aws::String>
106 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
107 template<typename RoleArnT = Aws::String>
108 Destinations& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
110 private:
111
112 Aws::String m_arn;
113 bool m_arnHasBeenSet = false;
114
115 Aws::String m_name;
116 bool m_nameHasBeenSet = false;
117
118 ExpressionType m_expressionType{ExpressionType::NOT_SET};
119 bool m_expressionTypeHasBeenSet = false;
120
121 Aws::String m_expression;
122 bool m_expressionHasBeenSet = false;
123
124 Aws::String m_description;
125 bool m_descriptionHasBeenSet = false;
126
127 Aws::String m_roleArn;
128 bool m_roleArnHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace IoTWireless
133} // 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