AWS SDK for C++  1.9.104
AWS SDK for C++
GetInfrastructureConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace imagebuilder
19 {
20 namespace Model
21 {
22 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "GetInfrastructureConfiguration"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
43 
48  inline const Aws::String& GetInfrastructureConfigurationArn() const{ return m_infrastructureConfigurationArn; }
49 
54  inline bool InfrastructureConfigurationArnHasBeenSet() const { return m_infrastructureConfigurationArnHasBeenSet; }
55 
60  inline void SetInfrastructureConfigurationArn(const Aws::String& value) { m_infrastructureConfigurationArnHasBeenSet = true; m_infrastructureConfigurationArn = value; }
61 
66  inline void SetInfrastructureConfigurationArn(Aws::String&& value) { m_infrastructureConfigurationArnHasBeenSet = true; m_infrastructureConfigurationArn = std::move(value); }
67 
72  inline void SetInfrastructureConfigurationArn(const char* value) { m_infrastructureConfigurationArnHasBeenSet = true; m_infrastructureConfigurationArn.assign(value); }
73 
78  inline GetInfrastructureConfigurationRequest& WithInfrastructureConfigurationArn(const Aws::String& value) { SetInfrastructureConfigurationArn(value); return *this;}
79 
84  inline GetInfrastructureConfigurationRequest& WithInfrastructureConfigurationArn(Aws::String&& value) { SetInfrastructureConfigurationArn(std::move(value)); return *this;}
85 
90  inline GetInfrastructureConfigurationRequest& WithInfrastructureConfigurationArn(const char* value) { SetInfrastructureConfigurationArn(value); return *this;}
91 
92  private:
93 
94  Aws::String m_infrastructureConfigurationArn;
95  bool m_infrastructureConfigurationArnHasBeenSet;
96  };
97 
98 } // namespace Model
99 } // namespace imagebuilder
100 } // namespace Aws
Aws::imagebuilder::Model::GetInfrastructureConfigurationRequest::WithInfrastructureConfigurationArn
GetInfrastructureConfigurationRequest & WithInfrastructureConfigurationArn(const char *value)
Definition: GetInfrastructureConfigurationRequest.h:90
Aws::Http::URI
Definition: URI.h:32
Aws::imagebuilder::Model::GetInfrastructureConfigurationRequest::SetInfrastructureConfigurationArn
void SetInfrastructureConfigurationArn(const char *value)
Definition: GetInfrastructureConfigurationRequest.h:72
Aws::imagebuilder::Model::GetInfrastructureConfigurationRequest::WithInfrastructureConfigurationArn
GetInfrastructureConfigurationRequest & WithInfrastructureConfigurationArn(const Aws::String &value)
Definition: GetInfrastructureConfigurationRequest.h:78
Aws::imagebuilder::Model::GetInfrastructureConfigurationRequest::InfrastructureConfigurationArnHasBeenSet
bool InfrastructureConfigurationArnHasBeenSet() const
Definition: GetInfrastructureConfigurationRequest.h:54
Aws::imagebuilder::Model::GetInfrastructureConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetInfrastructureConfigurationRequest.h:37
Imagebuilder_EXPORTS.h
Aws::imagebuilder::Model::GetInfrastructureConfigurationRequest::WithInfrastructureConfigurationArn
GetInfrastructureConfigurationRequest & WithInfrastructureConfigurationArn(Aws::String &&value)
Definition: GetInfrastructureConfigurationRequest.h:84
AWSString.h
Aws::imagebuilder::Model::GetInfrastructureConfigurationRequest::SetInfrastructureConfigurationArn
void SetInfrastructureConfigurationArn(Aws::String &&value)
Definition: GetInfrastructureConfigurationRequest.h:66
Aws::imagebuilder::Model::GetInfrastructureConfigurationRequest::GetInfrastructureConfigurationArn
const Aws::String & GetInfrastructureConfigurationArn() const
Definition: GetInfrastructureConfigurationRequest.h:48
Aws::imagebuilder::Model::GetInfrastructureConfigurationRequest::SetInfrastructureConfigurationArn
void SetInfrastructureConfigurationArn(const Aws::String &value)
Definition: GetInfrastructureConfigurationRequest.h:60
Aws
Definition: AccessManagementClient.h:15
ImagebuilderRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_IMAGEBUILDER_API
#define AWS_IMAGEBUILDER_API
Definition: Imagebuilder_EXPORTS.h:28
Aws::imagebuilder::Model::GetInfrastructureConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::imagebuilder::Model::GetInfrastructureConfigurationRequest::GetInfrastructureConfigurationRequest
GetInfrastructureConfigurationRequest()
Aws::imagebuilder::ImagebuilderRequest
Definition: ImagebuilderRequest.h:17
Aws::imagebuilder::Model::GetInfrastructureConfigurationRequest
Definition: GetInfrastructureConfigurationRequest.h:29
Aws::imagebuilder::Model::GetInfrastructureConfigurationRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override