AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline Destinations& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline Destinations& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline Destinations& WithArn(const char* value) { SetArn(value); return *this;}
54
56
59 inline const Aws::String& GetName() const{ return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
62 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 inline Destinations& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline Destinations& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline Destinations& WithName(const char* value) { SetName(value); return *this;}
68
70
73 inline const ExpressionType& GetExpressionType() const{ return m_expressionType; }
74 inline bool ExpressionTypeHasBeenSet() const { return m_expressionTypeHasBeenSet; }
75 inline void SetExpressionType(const ExpressionType& value) { m_expressionTypeHasBeenSet = true; m_expressionType = value; }
76 inline void SetExpressionType(ExpressionType&& value) { m_expressionTypeHasBeenSet = true; m_expressionType = std::move(value); }
77 inline Destinations& WithExpressionType(const ExpressionType& value) { SetExpressionType(value); return *this;}
78 inline Destinations& WithExpressionType(ExpressionType&& value) { SetExpressionType(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetExpression() const{ return m_expression; }
86 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
87 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
88 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
89 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
90 inline Destinations& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
91 inline Destinations& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
92 inline Destinations& WithExpression(const char* value) { SetExpression(value); return *this;}
94
96
99 inline const Aws::String& GetDescription() const{ return m_description; }
100 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
101 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
102 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
103 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
104 inline Destinations& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
105 inline Destinations& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
106 inline Destinations& WithDescription(const char* value) { SetDescription(value); return *this;}
108
110
113 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
114 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
115 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
116 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
117 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
118 inline Destinations& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
119 inline Destinations& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
120 inline Destinations& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
122 private:
123
124 Aws::String m_arn;
125 bool m_arnHasBeenSet = false;
126
127 Aws::String m_name;
128 bool m_nameHasBeenSet = false;
129
130 ExpressionType m_expressionType;
131 bool m_expressionTypeHasBeenSet = false;
132
133 Aws::String m_expression;
134 bool m_expressionHasBeenSet = false;
135
136 Aws::String m_description;
137 bool m_descriptionHasBeenSet = false;
138
139 Aws::String m_roleArn;
140 bool m_roleArnHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace IoTWireless
145} // namespace Aws
const ExpressionType & GetExpressionType() const
const Aws::String & GetArn() const
void SetDescription(const Aws::String &value)
void SetExpression(const char *value)
void SetDescription(const char *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
Destinations & WithExpression(Aws::String &&value)
const Aws::String & GetRoleArn() const
void SetExpression(const Aws::String &value)
Destinations & WithRoleArn(const char *value)
void SetArn(const Aws::String &value)
AWS_IOTWIRELESS_API Destinations(Aws::Utils::Json::JsonView jsonValue)
void SetName(const char *value)
Destinations & WithName(const char *value)
Destinations & WithArn(const char *value)
void SetArn(Aws::String &&value)
Destinations & WithArn(Aws::String &&value)
Destinations & WithExpressionType(ExpressionType &&value)
void SetRoleArn(const char *value)
const Aws::String & GetDescription() const
Destinations & WithDescription(Aws::String &&value)
const Aws::String & GetExpression() const
void SetExpression(Aws::String &&value)
Destinations & WithExpression(const Aws::String &value)
AWS_IOTWIRELESS_API Destinations()
void SetExpressionType(const ExpressionType &value)
void SetName(Aws::String &&value)
Destinations & WithExpressionType(const ExpressionType &value)
Destinations & WithArn(const Aws::String &value)
Destinations & WithDescription(const char *value)
Destinations & WithRoleArn(Aws::String &&value)
void SetExpressionType(ExpressionType &&value)
void SetRoleArn(const Aws::String &value)
Destinations & WithExpression(const char *value)
void SetName(const Aws::String &value)
Destinations & WithName(const Aws::String &value)
void SetDescription(Aws::String &&value)
Destinations & WithDescription(const Aws::String &value)
Destinations & WithRoleArn(const Aws::String &value)
void SetRoleArn(Aws::String &&value)
Destinations & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue