AWS SDK for C++  1.9.40
AWS SDK for C++
UpdateConnectorDefinitionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Greengrass
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 "UpdateConnectorDefinition"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetConnectorDefinitionId() const{ return m_connectorDefinitionId; }
39 
43  inline bool ConnectorDefinitionIdHasBeenSet() const { return m_connectorDefinitionIdHasBeenSet; }
44 
48  inline void SetConnectorDefinitionId(const Aws::String& value) { m_connectorDefinitionIdHasBeenSet = true; m_connectorDefinitionId = value; }
49 
53  inline void SetConnectorDefinitionId(Aws::String&& value) { m_connectorDefinitionIdHasBeenSet = true; m_connectorDefinitionId = std::move(value); }
54 
58  inline void SetConnectorDefinitionId(const char* value) { m_connectorDefinitionIdHasBeenSet = true; m_connectorDefinitionId.assign(value); }
59 
63  inline UpdateConnectorDefinitionRequest& WithConnectorDefinitionId(const Aws::String& value) { SetConnectorDefinitionId(value); return *this;}
64 
68  inline UpdateConnectorDefinitionRequest& WithConnectorDefinitionId(Aws::String&& value) { SetConnectorDefinitionId(std::move(value)); return *this;}
69 
73  inline UpdateConnectorDefinitionRequest& WithConnectorDefinitionId(const char* value) { SetConnectorDefinitionId(value); return *this;}
74 
75 
79  inline const Aws::String& GetName() const{ return m_name; }
80 
84  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
85 
89  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
90 
94  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
95 
99  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
100 
104  inline UpdateConnectorDefinitionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
105 
109  inline UpdateConnectorDefinitionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
110 
114  inline UpdateConnectorDefinitionRequest& WithName(const char* value) { SetName(value); return *this;}
115 
116  private:
117 
118  Aws::String m_connectorDefinitionId;
119  bool m_connectorDefinitionIdHasBeenSet;
120 
121  Aws::String m_name;
122  bool m_nameHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace Greengrass
127 } // namespace Aws
Aws::Greengrass::Model::UpdateConnectorDefinitionRequest::SetConnectorDefinitionId
void SetConnectorDefinitionId(Aws::String &&value)
Definition: UpdateConnectorDefinitionRequest.h:53
Aws::Greengrass::Model::UpdateConnectorDefinitionRequest::WithName
UpdateConnectorDefinitionRequest & WithName(const Aws::String &value)
Definition: UpdateConnectorDefinitionRequest.h:104
Aws::Greengrass::Model::UpdateConnectorDefinitionRequest::WithConnectorDefinitionId
UpdateConnectorDefinitionRequest & WithConnectorDefinitionId(const char *value)
Definition: UpdateConnectorDefinitionRequest.h:73
Aws::Greengrass::Model::UpdateConnectorDefinitionRequest::GetName
const Aws::String & GetName() const
Definition: UpdateConnectorDefinitionRequest.h:79
Greengrass_EXPORTS.h
AWS_GREENGRASS_API
#define AWS_GREENGRASS_API
Definition: Greengrass_EXPORTS.h:28
GreengrassRequest.h
Aws::Greengrass::Model::UpdateConnectorDefinitionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Greengrass::Model::UpdateConnectorDefinitionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateConnectorDefinitionRequest.h:30
Aws::Greengrass::Model::UpdateConnectorDefinitionRequest::SetName
void SetName(const char *value)
Definition: UpdateConnectorDefinitionRequest.h:99
Aws::Greengrass::Model::UpdateConnectorDefinitionRequest::WithConnectorDefinitionId
UpdateConnectorDefinitionRequest & WithConnectorDefinitionId(Aws::String &&value)
Definition: UpdateConnectorDefinitionRequest.h:68
Aws::Greengrass::Model::UpdateConnectorDefinitionRequest::GetConnectorDefinitionId
const Aws::String & GetConnectorDefinitionId() const
Definition: UpdateConnectorDefinitionRequest.h:38
Aws::Greengrass::Model::UpdateConnectorDefinitionRequest::SetConnectorDefinitionId
void SetConnectorDefinitionId(const Aws::String &value)
Definition: UpdateConnectorDefinitionRequest.h:48
Aws::Greengrass::Model::UpdateConnectorDefinitionRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateConnectorDefinitionRequest.h:94
Aws::Greengrass::Model::UpdateConnectorDefinitionRequest::WithName
UpdateConnectorDefinitionRequest & WithName(const char *value)
Definition: UpdateConnectorDefinitionRequest.h:114
Aws::Greengrass::Model::UpdateConnectorDefinitionRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateConnectorDefinitionRequest.h:89
AWSString.h
Aws::Greengrass::GreengrassRequest
Definition: GreengrassRequest.h:17
Aws::Greengrass::Model::UpdateConnectorDefinitionRequest::SetConnectorDefinitionId
void SetConnectorDefinitionId(const char *value)
Definition: UpdateConnectorDefinitionRequest.h:58
Aws::Greengrass::Model::UpdateConnectorDefinitionRequest::WithConnectorDefinitionId
UpdateConnectorDefinitionRequest & WithConnectorDefinitionId(const Aws::String &value)
Definition: UpdateConnectorDefinitionRequest.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::Greengrass::Model::UpdateConnectorDefinitionRequest::ConnectorDefinitionIdHasBeenSet
bool ConnectorDefinitionIdHasBeenSet() const
Definition: UpdateConnectorDefinitionRequest.h:43
Aws::Greengrass::Model::UpdateConnectorDefinitionRequest::UpdateConnectorDefinitionRequest
UpdateConnectorDefinitionRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Greengrass::Model::UpdateConnectorDefinitionRequest::WithName
UpdateConnectorDefinitionRequest & WithName(Aws::String &&value)
Definition: UpdateConnectorDefinitionRequest.h:109
Aws::Greengrass::Model::UpdateConnectorDefinitionRequest
Definition: UpdateConnectorDefinitionRequest.h:22
Aws::Greengrass::Model::UpdateConnectorDefinitionRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateConnectorDefinitionRequest.h:84