AWS SDK for C++  1.9.124
AWS SDK for C++
SqsAction.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoT
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
45 
49  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
50 
54  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
55 
59  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
60 
64  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
65 
69  inline SqsAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
70 
74  inline SqsAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
75 
79  inline SqsAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
80 
81 
85  inline const Aws::String& GetQueueUrl() const{ return m_queueUrl; }
86 
90  inline bool QueueUrlHasBeenSet() const { return m_queueUrlHasBeenSet; }
91 
95  inline void SetQueueUrl(const Aws::String& value) { m_queueUrlHasBeenSet = true; m_queueUrl = value; }
96 
100  inline void SetQueueUrl(Aws::String&& value) { m_queueUrlHasBeenSet = true; m_queueUrl = std::move(value); }
101 
105  inline void SetQueueUrl(const char* value) { m_queueUrlHasBeenSet = true; m_queueUrl.assign(value); }
106 
110  inline SqsAction& WithQueueUrl(const Aws::String& value) { SetQueueUrl(value); return *this;}
111 
115  inline SqsAction& WithQueueUrl(Aws::String&& value) { SetQueueUrl(std::move(value)); return *this;}
116 
120  inline SqsAction& WithQueueUrl(const char* value) { SetQueueUrl(value); return *this;}
121 
122 
126  inline bool GetUseBase64() const{ return m_useBase64; }
127 
131  inline bool UseBase64HasBeenSet() const { return m_useBase64HasBeenSet; }
132 
136  inline void SetUseBase64(bool value) { m_useBase64HasBeenSet = true; m_useBase64 = value; }
137 
141  inline SqsAction& WithUseBase64(bool value) { SetUseBase64(value); return *this;}
142 
143  private:
144 
145  Aws::String m_roleArn;
146  bool m_roleArnHasBeenSet;
147 
148  Aws::String m_queueUrl;
149  bool m_queueUrlHasBeenSet;
150 
151  bool m_useBase64;
152  bool m_useBase64HasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace IoT
157 } // namespace Aws
Aws::IoT::Model::SqsAction::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::SqsAction
Definition: SqsAction.h:33
Aws::IoT::Model::SqsAction::GetUseBase64
bool GetUseBase64() const
Definition: SqsAction.h:126
Aws::IoT::Model::SqsAction::operator=
SqsAction & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::SqsAction::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: SqsAction.h:59
Aws::IoT::Model::SqsAction::WithRoleArn
SqsAction & WithRoleArn(const Aws::String &value)
Definition: SqsAction.h:69
Aws::IoT::Model::SqsAction::UseBase64HasBeenSet
bool UseBase64HasBeenSet() const
Definition: SqsAction.h:131
Aws::IoT::Model::SqsAction::SqsAction
SqsAction()
Aws::IoT::Model::SqsAction::SetRoleArn
void SetRoleArn(const char *value)
Definition: SqsAction.h:64
Aws::IoT::Model::SqsAction::WithQueueUrl
SqsAction & WithQueueUrl(Aws::String &&value)
Definition: SqsAction.h:115
Aws::IoT::Model::SqsAction::SetUseBase64
void SetUseBase64(bool value)
Definition: SqsAction.h:136
Aws::IoT::Model::SqsAction::GetQueueUrl
const Aws::String & GetQueueUrl() const
Definition: SqsAction.h:85
Aws::IoT::Model::SqsAction::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: SqsAction.h:54
Aws::IoT::Model::SqsAction::SetQueueUrl
void SetQueueUrl(Aws::String &&value)
Definition: SqsAction.h:100
Aws::IoT::Model::SqsAction::SetQueueUrl
void SetQueueUrl(const char *value)
Definition: SqsAction.h:105
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoT::Model::SqsAction::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: SqsAction.h:44
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::SqsAction::WithQueueUrl
SqsAction & WithQueueUrl(const char *value)
Definition: SqsAction.h:120
Aws::IoT::Model::SqsAction::WithRoleArn
SqsAction & WithRoleArn(const char *value)
Definition: SqsAction.h:79
Aws::IoT::Model::SqsAction::WithQueueUrl
SqsAction & WithQueueUrl(const Aws::String &value)
Definition: SqsAction.h:110
Aws::IoT::Model::SqsAction::SetQueueUrl
void SetQueueUrl(const Aws::String &value)
Definition: SqsAction.h:95
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::SqsAction::WithRoleArn
SqsAction & WithRoleArn(Aws::String &&value)
Definition: SqsAction.h:74
Aws::IoT::Model::SqsAction::QueueUrlHasBeenSet
bool QueueUrlHasBeenSet() const
Definition: SqsAction.h:90
Aws::IoT::Model::SqsAction::WithUseBase64
SqsAction & WithUseBase64(bool value)
Definition: SqsAction.h:141
IoT_EXPORTS.h
Aws::IoT::Model::SqsAction::SqsAction
SqsAction(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::SqsAction::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: SqsAction.h:49