AWS SDK for C++  1.9.108
AWS SDK for C++
UpdateDiscovererRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Schemas
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "UpdateDiscoverer"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetDescription() const{ return m_description; }
39 
43  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
44 
48  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
49 
53  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
54 
58  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
59 
63  inline UpdateDiscovererRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 
68  inline UpdateDiscovererRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
69 
73  inline UpdateDiscovererRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
74 
75 
79  inline const Aws::String& GetDiscovererId() const{ return m_discovererId; }
80 
84  inline bool DiscovererIdHasBeenSet() const { return m_discovererIdHasBeenSet; }
85 
89  inline void SetDiscovererId(const Aws::String& value) { m_discovererIdHasBeenSet = true; m_discovererId = value; }
90 
94  inline void SetDiscovererId(Aws::String&& value) { m_discovererIdHasBeenSet = true; m_discovererId = std::move(value); }
95 
99  inline void SetDiscovererId(const char* value) { m_discovererIdHasBeenSet = true; m_discovererId.assign(value); }
100 
104  inline UpdateDiscovererRequest& WithDiscovererId(const Aws::String& value) { SetDiscovererId(value); return *this;}
105 
109  inline UpdateDiscovererRequest& WithDiscovererId(Aws::String&& value) { SetDiscovererId(std::move(value)); return *this;}
110 
114  inline UpdateDiscovererRequest& WithDiscovererId(const char* value) { SetDiscovererId(value); return *this;}
115 
116 
121  inline bool GetCrossAccount() const{ return m_crossAccount; }
122 
127  inline bool CrossAccountHasBeenSet() const { return m_crossAccountHasBeenSet; }
128 
133  inline void SetCrossAccount(bool value) { m_crossAccountHasBeenSet = true; m_crossAccount = value; }
134 
139  inline UpdateDiscovererRequest& WithCrossAccount(bool value) { SetCrossAccount(value); return *this;}
140 
141  private:
142 
143  Aws::String m_description;
144  bool m_descriptionHasBeenSet;
145 
146  Aws::String m_discovererId;
147  bool m_discovererIdHasBeenSet;
148 
149  bool m_crossAccount;
150  bool m_crossAccountHasBeenSet;
151  };
152 
153 } // namespace Model
154 } // namespace Schemas
155 } // namespace Aws
Aws::Schemas::Model::UpdateDiscovererRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateDiscovererRequest.h:43
Aws::Schemas::Model::UpdateDiscovererRequest::GetDiscovererId
const Aws::String & GetDiscovererId() const
Definition: UpdateDiscovererRequest.h:79
Aws::Schemas::Model::UpdateDiscovererRequest::WithDescription
UpdateDiscovererRequest & WithDescription(Aws::String &&value)
Definition: UpdateDiscovererRequest.h:68
Aws::Schemas::Model::UpdateDiscovererRequest::WithDescription
UpdateDiscovererRequest & WithDescription(const char *value)
Definition: UpdateDiscovererRequest.h:73
Aws::Schemas::SchemasRequest
Definition: SchemasRequest.h:17
SchemasRequest.h
Aws::Schemas::Model::UpdateDiscovererRequest::WithDiscovererId
UpdateDiscovererRequest & WithDiscovererId(Aws::String &&value)
Definition: UpdateDiscovererRequest.h:109
Aws::Schemas::Model::UpdateDiscovererRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Schemas::Model::UpdateDiscovererRequest::SetDiscovererId
void SetDiscovererId(const Aws::String &value)
Definition: UpdateDiscovererRequest.h:89
Schemas_EXPORTS.h
Aws::Schemas::Model::UpdateDiscovererRequest::UpdateDiscovererRequest
UpdateDiscovererRequest()
Aws::Schemas::Model::UpdateDiscovererRequest::SetCrossAccount
void SetCrossAccount(bool value)
Definition: UpdateDiscovererRequest.h:133
Aws::Schemas::Model::UpdateDiscovererRequest::CrossAccountHasBeenSet
bool CrossAccountHasBeenSet() const
Definition: UpdateDiscovererRequest.h:127
Aws::Schemas::Model::UpdateDiscovererRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateDiscovererRequest.h:58
Aws::Schemas::Model::UpdateDiscovererRequest::WithDescription
UpdateDiscovererRequest & WithDescription(const Aws::String &value)
Definition: UpdateDiscovererRequest.h:63
Aws::Schemas::Model::UpdateDiscovererRequest::WithDiscovererId
UpdateDiscovererRequest & WithDiscovererId(const char *value)
Definition: UpdateDiscovererRequest.h:114
AWSString.h
Aws::Schemas::Model::UpdateDiscovererRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateDiscovererRequest.h:48
Aws::Schemas::Model::UpdateDiscovererRequest::WithCrossAccount
UpdateDiscovererRequest & WithCrossAccount(bool value)
Definition: UpdateDiscovererRequest.h:139
Aws::Schemas::Model::UpdateDiscovererRequest::WithDiscovererId
UpdateDiscovererRequest & WithDiscovererId(const Aws::String &value)
Definition: UpdateDiscovererRequest.h:104
Aws::Schemas::Model::UpdateDiscovererRequest::DiscovererIdHasBeenSet
bool DiscovererIdHasBeenSet() const
Definition: UpdateDiscovererRequest.h:84
Aws::Schemas::Model::UpdateDiscovererRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDiscovererRequest.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::Schemas::Model::UpdateDiscovererRequest::SetDiscovererId
void SetDiscovererId(Aws::String &&value)
Definition: UpdateDiscovererRequest.h:94
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Schemas::Model::UpdateDiscovererRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateDiscovererRequest.h:38
Aws::Schemas::Model::UpdateDiscovererRequest
Definition: UpdateDiscovererRequest.h:22
AWS_SCHEMAS_API
#define AWS_SCHEMAS_API
Definition: Schemas_EXPORTS.h:28
Aws::Schemas::Model::UpdateDiscovererRequest::SetDiscovererId
void SetDiscovererId(const char *value)
Definition: UpdateDiscovererRequest.h:99
Aws::Schemas::Model::UpdateDiscovererRequest::GetCrossAccount
bool GetCrossAccount() const
Definition: UpdateDiscovererRequest.h:121
Aws::Schemas::Model::UpdateDiscovererRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateDiscovererRequest.h:53