AWS SDK for C++  1.9.132
AWS SDK for C++
PublishFindingToSnsParams.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 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetTopicArn() const{ return m_topicArn; }
46 
50  inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
51 
55  inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; }
56 
60  inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); }
61 
65  inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); }
66 
70  inline PublishFindingToSnsParams& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;}
71 
75  inline PublishFindingToSnsParams& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;}
76 
80  inline PublishFindingToSnsParams& WithTopicArn(const char* value) { SetTopicArn(value); return *this;}
81 
82  private:
83 
84  Aws::String m_topicArn;
85  bool m_topicArnHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace IoT
90 } // namespace Aws
Aws::IoT::Model::PublishFindingToSnsParams::SetTopicArn
void SetTopicArn(Aws::String &&value)
Definition: PublishFindingToSnsParams.h:60
Aws::IoT::Model::PublishFindingToSnsParams::GetTopicArn
const Aws::String & GetTopicArn() const
Definition: PublishFindingToSnsParams.h:45
Aws::IoT::Model::PublishFindingToSnsParams
Definition: PublishFindingToSnsParams.h:34
Aws::IoT::Model::PublishFindingToSnsParams::SetTopicArn
void SetTopicArn(const Aws::String &value)
Definition: PublishFindingToSnsParams.h:55
Aws::IoT::Model::PublishFindingToSnsParams::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::PublishFindingToSnsParams::WithTopicArn
PublishFindingToSnsParams & WithTopicArn(const Aws::String &value)
Definition: PublishFindingToSnsParams.h:70
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoT::Model::PublishFindingToSnsParams::operator=
PublishFindingToSnsParams & operator=(Aws::Utils::Json::JsonView jsonValue)
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::PublishFindingToSnsParams::WithTopicArn
PublishFindingToSnsParams & WithTopicArn(Aws::String &&value)
Definition: PublishFindingToSnsParams.h:75
Aws::IoT::Model::PublishFindingToSnsParams::PublishFindingToSnsParams
PublishFindingToSnsParams()
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::PublishFindingToSnsParams::WithTopicArn
PublishFindingToSnsParams & WithTopicArn(const char *value)
Definition: PublishFindingToSnsParams.h:80
Aws::IoT::Model::PublishFindingToSnsParams::TopicArnHasBeenSet
bool TopicArnHasBeenSet() const
Definition: PublishFindingToSnsParams.h:50
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::PublishFindingToSnsParams::SetTopicArn
void SetTopicArn(const char *value)
Definition: PublishFindingToSnsParams.h:65
Aws::IoT::Model::PublishFindingToSnsParams::PublishFindingToSnsParams
PublishFindingToSnsParams(Aws::Utils::Json::JsonView jsonValue)
IoT_EXPORTS.h