AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateTopicRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/TopicDetails.h>
11#include <utility>
12
13namespace Aws
14{
15namespace QuickSight
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_QUICKSIGHT_API UpdateTopicRequest();
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 "UpdateTopic"; }
32
33 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
42 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
43 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
44 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
45 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
46 inline UpdateTopicRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
47 inline UpdateTopicRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
48 inline UpdateTopicRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
50
52
56 inline const Aws::String& GetTopicId() const{ return m_topicId; }
57 inline bool TopicIdHasBeenSet() const { return m_topicIdHasBeenSet; }
58 inline void SetTopicId(const Aws::String& value) { m_topicIdHasBeenSet = true; m_topicId = value; }
59 inline void SetTopicId(Aws::String&& value) { m_topicIdHasBeenSet = true; m_topicId = std::move(value); }
60 inline void SetTopicId(const char* value) { m_topicIdHasBeenSet = true; m_topicId.assign(value); }
61 inline UpdateTopicRequest& WithTopicId(const Aws::String& value) { SetTopicId(value); return *this;}
62 inline UpdateTopicRequest& WithTopicId(Aws::String&& value) { SetTopicId(std::move(value)); return *this;}
63 inline UpdateTopicRequest& WithTopicId(const char* value) { SetTopicId(value); return *this;}
65
67
70 inline const TopicDetails& GetTopic() const{ return m_topic; }
71 inline bool TopicHasBeenSet() const { return m_topicHasBeenSet; }
72 inline void SetTopic(const TopicDetails& value) { m_topicHasBeenSet = true; m_topic = value; }
73 inline void SetTopic(TopicDetails&& value) { m_topicHasBeenSet = true; m_topic = std::move(value); }
74 inline UpdateTopicRequest& WithTopic(const TopicDetails& value) { SetTopic(value); return *this;}
75 inline UpdateTopicRequest& WithTopic(TopicDetails&& value) { SetTopic(std::move(value)); return *this;}
77 private:
78
79 Aws::String m_awsAccountId;
80 bool m_awsAccountIdHasBeenSet = false;
81
82 Aws::String m_topicId;
83 bool m_topicIdHasBeenSet = false;
84
85 TopicDetails m_topic;
86 bool m_topicHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace QuickSight
91} // namespace Aws
void SetAwsAccountId(const Aws::String &value)
UpdateTopicRequest & WithAwsAccountId(Aws::String &&value)
void SetTopicId(const Aws::String &value)
UpdateTopicRequest & WithAwsAccountId(const char *value)
UpdateTopicRequest & WithTopicId(const Aws::String &value)
void SetTopic(const TopicDetails &value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateTopicRequest & WithTopic(const TopicDetails &value)
UpdateTopicRequest & WithTopic(TopicDetails &&value)
UpdateTopicRequest & WithTopicId(Aws::String &&value)
UpdateTopicRequest & WithAwsAccountId(const Aws::String &value)
UpdateTopicRequest & WithTopicId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String