AWS SDK for C++  1.9.153
AWS SDK for C++
SnsDestination.h
Go to the documentation of this file.
1 
6 #pragma once
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 SESV2
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
48  inline const Aws::String& GetTopicArn() const{ return m_topicArn; }
49 
56  inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
57 
64  inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; }
65 
72  inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); }
73 
80  inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); }
81 
88  inline SnsDestination& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;}
89 
96  inline SnsDestination& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;}
97 
104  inline SnsDestination& WithTopicArn(const char* value) { SetTopicArn(value); return *this;}
105 
106  private:
107 
108  Aws::String m_topicArn;
109  bool m_topicArnHasBeenSet;
110  };
111 
112 } // namespace Model
113 } // namespace SESV2
114 } // namespace Aws
Aws::SESV2::Model::SnsDestination::WithTopicArn
SnsDestination & WithTopicArn(const char *value)
Definition: SnsDestination.h:104
Aws::SESV2::Model::SnsDestination::SetTopicArn
void SetTopicArn(const char *value)
Definition: SnsDestination.h:80
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::SnsDestination::WithTopicArn
SnsDestination & WithTopicArn(const Aws::String &value)
Definition: SnsDestination.h:88
Aws::SESV2::Model::SnsDestination::TopicArnHasBeenSet
bool TopicArnHasBeenSet() const
Definition: SnsDestination.h:56
Aws::SESV2::Model::SnsDestination::SetTopicArn
void SetTopicArn(const Aws::String &value)
Definition: SnsDestination.h:64
Aws::SESV2::Model::SnsDestination
Definition: SnsDestination.h:34
Aws::SESV2::Model::SnsDestination::GetTopicArn
const Aws::String & GetTopicArn() const
Definition: SnsDestination.h:48
Aws::SESV2::Model::SnsDestination::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::SnsDestination::SnsDestination
SnsDestination()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SESV2::Model::SnsDestination::operator=
SnsDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::SnsDestination::SnsDestination
SnsDestination(Aws::Utils::Json::JsonView jsonValue)
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::SnsDestination::SetTopicArn
void SetTopicArn(Aws::String &&value)
Definition: SnsDestination.h:72
Aws::SESV2::Model::SnsDestination::WithTopicArn
SnsDestination & WithTopicArn(Aws::String &&value)
Definition: SnsDestination.h:96
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97