AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SqsAction.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoT
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOT_API SqsAction();
36 AWS_IOT_API SqsAction(Aws::Utils::Json::JsonView jsonValue);
39
40
42
45 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
46 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
47 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
48 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
49 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
50 inline SqsAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
51 inline SqsAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
52 inline SqsAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
54
56
59 inline const Aws::String& GetQueueUrl() const{ return m_queueUrl; }
60 inline bool QueueUrlHasBeenSet() const { return m_queueUrlHasBeenSet; }
61 inline void SetQueueUrl(const Aws::String& value) { m_queueUrlHasBeenSet = true; m_queueUrl = value; }
62 inline void SetQueueUrl(Aws::String&& value) { m_queueUrlHasBeenSet = true; m_queueUrl = std::move(value); }
63 inline void SetQueueUrl(const char* value) { m_queueUrlHasBeenSet = true; m_queueUrl.assign(value); }
64 inline SqsAction& WithQueueUrl(const Aws::String& value) { SetQueueUrl(value); return *this;}
65 inline SqsAction& WithQueueUrl(Aws::String&& value) { SetQueueUrl(std::move(value)); return *this;}
66 inline SqsAction& WithQueueUrl(const char* value) { SetQueueUrl(value); return *this;}
68
70
73 inline bool GetUseBase64() const{ return m_useBase64; }
74 inline bool UseBase64HasBeenSet() const { return m_useBase64HasBeenSet; }
75 inline void SetUseBase64(bool value) { m_useBase64HasBeenSet = true; m_useBase64 = value; }
76 inline SqsAction& WithUseBase64(bool value) { SetUseBase64(value); return *this;}
78 private:
79
80 Aws::String m_roleArn;
81 bool m_roleArnHasBeenSet = false;
82
83 Aws::String m_queueUrl;
84 bool m_queueUrlHasBeenSet = false;
85
86 bool m_useBase64;
87 bool m_useBase64HasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace IoT
92} // namespace Aws
SqsAction & WithQueueUrl(Aws::String &&value)
Definition SqsAction.h:65
SqsAction & WithRoleArn(const char *value)
Definition SqsAction.h:52
const Aws::String & GetQueueUrl() const
Definition SqsAction.h:59
void SetQueueUrl(const Aws::String &value)
Definition SqsAction.h:61
SqsAction & WithRoleArn(const Aws::String &value)
Definition SqsAction.h:50
SqsAction & WithQueueUrl(const Aws::String &value)
Definition SqsAction.h:64
AWS_IOT_API SqsAction(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(const Aws::String &value)
Definition SqsAction.h:47
const Aws::String & GetRoleArn() const
Definition SqsAction.h:45
bool QueueUrlHasBeenSet() const
Definition SqsAction.h:60
void SetQueueUrl(const char *value)
Definition SqsAction.h:63
void SetRoleArn(const char *value)
Definition SqsAction.h:49
void SetRoleArn(Aws::String &&value)
Definition SqsAction.h:48
bool UseBase64HasBeenSet() const
Definition SqsAction.h:74
void SetQueueUrl(Aws::String &&value)
Definition SqsAction.h:62
bool RoleArnHasBeenSet() const
Definition SqsAction.h:46
void SetUseBase64(bool value)
Definition SqsAction.h:75
SqsAction & WithQueueUrl(const char *value)
Definition SqsAction.h:66
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
SqsAction & WithRoleArn(Aws::String &&value)
Definition SqsAction.h:51
bool GetUseBase64() const
Definition SqsAction.h:73
AWS_IOT_API SqsAction & operator=(Aws::Utils::Json::JsonView jsonValue)
SqsAction & WithUseBase64(bool value)
Definition SqsAction.h:76
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue