AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateDestinationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/iotwireless/IoTWireless_EXPORTS.h>
10#include <aws/iotwireless/model/ExpressionType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace IoTWireless {
16namespace Model {
17
21 public:
22 AWS_IOTWIRELESS_API UpdateDestinationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateDestination"; }
29
30 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetName() const { return m_name; }
37 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
38 template <typename NameT = Aws::String>
39 void SetName(NameT&& value) {
40 m_nameHasBeenSet = true;
41 m_name = std::forward<NameT>(value);
42 }
43 template <typename NameT = Aws::String>
45 SetName(std::forward<NameT>(value));
46 return *this;
47 }
49
51
54 inline ExpressionType GetExpressionType() const { return m_expressionType; }
55 inline bool ExpressionTypeHasBeenSet() const { return m_expressionTypeHasBeenSet; }
56 inline void SetExpressionType(ExpressionType value) {
57 m_expressionTypeHasBeenSet = true;
58 m_expressionType = value;
59 }
61 SetExpressionType(value);
62 return *this;
63 }
65
67
70 inline const Aws::String& GetExpression() const { return m_expression; }
71 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
72 template <typename ExpressionT = Aws::String>
73 void SetExpression(ExpressionT&& value) {
74 m_expressionHasBeenSet = true;
75 m_expression = std::forward<ExpressionT>(value);
76 }
77 template <typename ExpressionT = Aws::String>
79 SetExpression(std::forward<ExpressionT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetDescription() const { return m_description; }
89 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 template <typename DescriptionT = Aws::String>
91 void SetDescription(DescriptionT&& value) {
92 m_descriptionHasBeenSet = true;
93 m_description = std::forward<DescriptionT>(value);
94 }
95 template <typename DescriptionT = Aws::String>
97 SetDescription(std::forward<DescriptionT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
107 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
108 template <typename RoleArnT = Aws::String>
109 void SetRoleArn(RoleArnT&& value) {
110 m_roleArnHasBeenSet = true;
111 m_roleArn = std::forward<RoleArnT>(value);
112 }
113 template <typename RoleArnT = Aws::String>
115 SetRoleArn(std::forward<RoleArnT>(value));
116 return *this;
117 }
119 private:
120 Aws::String m_name;
121
122 ExpressionType m_expressionType{ExpressionType::NOT_SET};
123
124 Aws::String m_expression;
125
126 Aws::String m_description;
127
128 Aws::String m_roleArn;
129 bool m_nameHasBeenSet = false;
130 bool m_expressionTypeHasBeenSet = false;
131 bool m_expressionHasBeenSet = false;
132 bool m_descriptionHasBeenSet = false;
133 bool m_roleArnHasBeenSet = false;
134};
135
136} // namespace Model
137} // namespace IoTWireless
138} // namespace Aws
UpdateDestinationRequest & WithExpression(ExpressionT &&value)
AWS_IOTWIRELESS_API UpdateDestinationRequest()=default
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
UpdateDestinationRequest & WithName(NameT &&value)
UpdateDestinationRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
UpdateDestinationRequest & WithRoleArn(RoleArnT &&value)
UpdateDestinationRequest & WithExpressionType(ExpressionType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String