AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDestinationRequest.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotwireless/model/ExpressionType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iotwireless/model/Tag.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace IoTWireless
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_IOTWIRELESS_API CreateDestinationRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateDestination"; }
35
36 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetName() const{ return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
46 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
47 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
48 inline CreateDestinationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
49 inline CreateDestinationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
50 inline CreateDestinationRequest& WithName(const char* value) { SetName(value); return *this;}
52
54
57 inline const ExpressionType& GetExpressionType() const{ return m_expressionType; }
58 inline bool ExpressionTypeHasBeenSet() const { return m_expressionTypeHasBeenSet; }
59 inline void SetExpressionType(const ExpressionType& value) { m_expressionTypeHasBeenSet = true; m_expressionType = value; }
60 inline void SetExpressionType(ExpressionType&& value) { m_expressionTypeHasBeenSet = true; m_expressionType = std::move(value); }
61 inline CreateDestinationRequest& WithExpressionType(const ExpressionType& value) { SetExpressionType(value); return *this;}
62 inline CreateDestinationRequest& WithExpressionType(ExpressionType&& value) { SetExpressionType(std::move(value)); return *this;}
64
66
69 inline const Aws::String& GetExpression() const{ return m_expression; }
70 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
71 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
72 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
73 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
74 inline CreateDestinationRequest& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
75 inline CreateDestinationRequest& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
76 inline CreateDestinationRequest& WithExpression(const char* value) { SetExpression(value); return *this;}
78
80
83 inline const Aws::String& GetDescription() const{ return m_description; }
84 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
86 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
87 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
88 inline CreateDestinationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
89 inline CreateDestinationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
90 inline CreateDestinationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
92
94
97 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
98 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
99 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
100 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
101 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
102 inline CreateDestinationRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
103 inline CreateDestinationRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
104 inline CreateDestinationRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
106
108
112 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
113 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
114 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
115 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
116 inline CreateDestinationRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
117 inline CreateDestinationRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
118 inline CreateDestinationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
119 inline CreateDestinationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
121
123
134 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
135 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
136 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
137 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
138 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
140 inline CreateDestinationRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
141 inline CreateDestinationRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
143 private:
144
145 Aws::String m_name;
146 bool m_nameHasBeenSet = false;
147
148 ExpressionType m_expressionType;
149 bool m_expressionTypeHasBeenSet = false;
150
151 Aws::String m_expression;
152 bool m_expressionHasBeenSet = false;
153
154 Aws::String m_description;
155 bool m_descriptionHasBeenSet = false;
156
157 Aws::String m_roleArn;
158 bool m_roleArnHasBeenSet = false;
159
160 Aws::Vector<Tag> m_tags;
161 bool m_tagsHasBeenSet = false;
162
163 Aws::String m_clientRequestToken;
164 bool m_clientRequestTokenHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace IoTWireless
169} // namespace Aws
CreateDestinationRequest & WithRoleArn(const char *value)
CreateDestinationRequest & WithExpressionType(const ExpressionType &value)
CreateDestinationRequest & AddTags(const Tag &value)
CreateDestinationRequest & WithTags(Aws::Vector< Tag > &&value)
CreateDestinationRequest & WithName(Aws::String &&value)
CreateDestinationRequest & WithTags(const Aws::Vector< Tag > &value)
CreateDestinationRequest & WithClientRequestToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateDestinationRequest & WithRoleArn(const Aws::String &value)
CreateDestinationRequest & WithExpression(Aws::String &&value)
CreateDestinationRequest & WithExpression(const char *value)
CreateDestinationRequest & WithRoleArn(Aws::String &&value)
CreateDestinationRequest & WithDescription(Aws::String &&value)
CreateDestinationRequest & WithClientRequestToken(const Aws::String &value)
CreateDestinationRequest & WithExpressionType(ExpressionType &&value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
CreateDestinationRequest & WithDescription(const Aws::String &value)
CreateDestinationRequest & WithExpression(const Aws::String &value)
CreateDestinationRequest & WithClientRequestToken(const char *value)
CreateDestinationRequest & WithDescription(const char *value)
CreateDestinationRequest & WithName(const Aws::String &value)
CreateDestinationRequest & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector