AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename NameT = Aws::String>
43 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
44 template<typename NameT = Aws::String>
45 UpdateDestinationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
47
49
52 inline ExpressionType GetExpressionType() const { return m_expressionType; }
53 inline bool ExpressionTypeHasBeenSet() const { return m_expressionTypeHasBeenSet; }
54 inline void SetExpressionType(ExpressionType value) { m_expressionTypeHasBeenSet = true; m_expressionType = value; }
57
59
62 inline const Aws::String& GetExpression() const { return m_expression; }
63 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
64 template<typename ExpressionT = Aws::String>
65 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet = true; m_expression = std::forward<ExpressionT>(value); }
66 template<typename ExpressionT = Aws::String>
67 UpdateDestinationRequest& WithExpression(ExpressionT&& value) { SetExpression(std::forward<ExpressionT>(value)); return *this;}
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template<typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
78 template<typename DescriptionT = Aws::String>
79 UpdateDestinationRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
81
83
86 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
87 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
88 template<typename RoleArnT = Aws::String>
89 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
90 template<typename RoleArnT = Aws::String>
91 UpdateDestinationRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
93 private:
94
95 Aws::String m_name;
96 bool m_nameHasBeenSet = false;
97
99 bool m_expressionTypeHasBeenSet = false;
100
101 Aws::String m_expression;
102 bool m_expressionHasBeenSet = false;
103
104 Aws::String m_description;
105 bool m_descriptionHasBeenSet = false;
106
107 Aws::String m_roleArn;
108 bool m_roleArnHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace IoTWireless
113} // 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