AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDestinationRequest.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 <utility>
12
13namespace Aws
14{
15namespace IoTWireless
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOTWIRELESS_API UpdateDestinationRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateDestination"; }
32
33 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetName() const{ return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
43 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
44 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
45 inline UpdateDestinationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
46 inline UpdateDestinationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
47 inline UpdateDestinationRequest& WithName(const char* value) { SetName(value); return *this;}
49
51
54 inline const ExpressionType& GetExpressionType() const{ return m_expressionType; }
55 inline bool ExpressionTypeHasBeenSet() const { return m_expressionTypeHasBeenSet; }
56 inline void SetExpressionType(const ExpressionType& value) { m_expressionTypeHasBeenSet = true; m_expressionType = value; }
57 inline void SetExpressionType(ExpressionType&& value) { m_expressionTypeHasBeenSet = true; m_expressionType = std::move(value); }
58 inline UpdateDestinationRequest& WithExpressionType(const ExpressionType& value) { SetExpressionType(value); return *this;}
59 inline UpdateDestinationRequest& WithExpressionType(ExpressionType&& value) { SetExpressionType(std::move(value)); return *this;}
61
63
66 inline const Aws::String& GetExpression() const{ return m_expression; }
67 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
68 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
69 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
70 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
71 inline UpdateDestinationRequest& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
72 inline UpdateDestinationRequest& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
73 inline UpdateDestinationRequest& WithExpression(const char* value) { SetExpression(value); return *this;}
75
77
80 inline const Aws::String& GetDescription() const{ return m_description; }
81 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
82 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
83 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
84 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
85 inline UpdateDestinationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
86 inline UpdateDestinationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
87 inline UpdateDestinationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
89
91
94 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
95 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
96 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
97 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
98 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
99 inline UpdateDestinationRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
100 inline UpdateDestinationRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
101 inline UpdateDestinationRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
103 private:
104
105 Aws::String m_name;
106 bool m_nameHasBeenSet = false;
107
108 ExpressionType m_expressionType;
109 bool m_expressionTypeHasBeenSet = false;
110
111 Aws::String m_expression;
112 bool m_expressionHasBeenSet = false;
113
114 Aws::String m_description;
115 bool m_descriptionHasBeenSet = false;
116
117 Aws::String m_roleArn;
118 bool m_roleArnHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace IoTWireless
123} // namespace Aws
UpdateDestinationRequest & WithDescription(Aws::String &&value)
UpdateDestinationRequest & WithExpressionType(ExpressionType &&value)
UpdateDestinationRequest & WithDescription(const char *value)
UpdateDestinationRequest & WithExpression(const Aws::String &value)
UpdateDestinationRequest & WithName(const Aws::String &value)
UpdateDestinationRequest & WithRoleArn(const char *value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
UpdateDestinationRequest & WithExpression(Aws::String &&value)
UpdateDestinationRequest & WithExpressionType(const ExpressionType &value)
virtual const char * GetServiceRequestName() const override
UpdateDestinationRequest & WithRoleArn(Aws::String &&value)
UpdateDestinationRequest & WithExpression(const char *value)
UpdateDestinationRequest & WithName(const char *value)
UpdateDestinationRequest & WithDescription(const Aws::String &value)
UpdateDestinationRequest & WithName(Aws::String &&value)
UpdateDestinationRequest & WithRoleArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String