AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetInfrastructureConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/ImagebuilderRequest.h>
9#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace imagebuilder {
18namespace Model {
19
26 public:
27 AWS_IMAGEBUILDER_API GetInfrastructureConfigurationRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "GetInfrastructureConfiguration"; }
34
35 AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override;
36
37 AWS_IMAGEBUILDER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
38
40
44 inline const Aws::String& GetInfrastructureConfigurationArn() const { return m_infrastructureConfigurationArn; }
45 inline bool InfrastructureConfigurationArnHasBeenSet() const { return m_infrastructureConfigurationArnHasBeenSet; }
46 template <typename InfrastructureConfigurationArnT = Aws::String>
47 void SetInfrastructureConfigurationArn(InfrastructureConfigurationArnT&& value) {
48 m_infrastructureConfigurationArnHasBeenSet = true;
49 m_infrastructureConfigurationArn = std::forward<InfrastructureConfigurationArnT>(value);
50 }
51 template <typename InfrastructureConfigurationArnT = Aws::String>
53 SetInfrastructureConfigurationArn(std::forward<InfrastructureConfigurationArnT>(value));
54 return *this;
55 }
57 private:
58 Aws::String m_infrastructureConfigurationArn;
59 bool m_infrastructureConfigurationArnHasBeenSet = false;
60};
61
62} // namespace Model
63} // namespace imagebuilder
64} // namespace Aws
AWS_IMAGEBUILDER_API GetInfrastructureConfigurationRequest()=default
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
GetInfrastructureConfigurationRequest & WithInfrastructureConfigurationArn(InfrastructureConfigurationArnT &&value)
AWS_IMAGEBUILDER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String