AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDistributionConfigurationRequest.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/ImagebuilderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/imagebuilder/model/Distribution.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace imagebuilder
18{
19namespace Model
20{
21
25 {
26 public:
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 "UpdateDistributionConfiguration"; }
34
35 AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetDistributionConfigurationArn() const{ return m_distributionConfigurationArn; }
44 inline bool DistributionConfigurationArnHasBeenSet() const { return m_distributionConfigurationArnHasBeenSet; }
45 inline void SetDistributionConfigurationArn(const Aws::String& value) { m_distributionConfigurationArnHasBeenSet = true; m_distributionConfigurationArn = value; }
46 inline void SetDistributionConfigurationArn(Aws::String&& value) { m_distributionConfigurationArnHasBeenSet = true; m_distributionConfigurationArn = std::move(value); }
47 inline void SetDistributionConfigurationArn(const char* value) { m_distributionConfigurationArnHasBeenSet = true; m_distributionConfigurationArn.assign(value); }
52
54
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 inline UpdateDistributionConfigurationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline UpdateDistributionConfigurationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
71 inline const Aws::Vector<Distribution>& GetDistributions() const{ return m_distributions; }
72 inline bool DistributionsHasBeenSet() const { return m_distributionsHasBeenSet; }
73 inline void SetDistributions(const Aws::Vector<Distribution>& value) { m_distributionsHasBeenSet = true; m_distributions = value; }
74 inline void SetDistributions(Aws::Vector<Distribution>&& value) { m_distributionsHasBeenSet = true; m_distributions = std::move(value); }
77 inline UpdateDistributionConfigurationRequest& AddDistributions(const Distribution& value) { m_distributionsHasBeenSet = true; m_distributions.push_back(value); return *this; }
78 inline UpdateDistributionConfigurationRequest& AddDistributions(Distribution&& value) { m_distributionsHasBeenSet = true; m_distributions.push_back(std::move(value)); return *this; }
80
82
88 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
89 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
90 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
91 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
92 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
94 inline UpdateDistributionConfigurationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
95 inline UpdateDistributionConfigurationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
97 private:
98
99 Aws::String m_distributionConfigurationArn;
100 bool m_distributionConfigurationArnHasBeenSet = false;
101
102 Aws::String m_description;
103 bool m_descriptionHasBeenSet = false;
104
105 Aws::Vector<Distribution> m_distributions;
106 bool m_distributionsHasBeenSet = false;
107
108 Aws::String m_clientToken;
109 bool m_clientTokenHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace imagebuilder
114} // namespace Aws
UpdateDistributionConfigurationRequest & WithDistributions(const Aws::Vector< Distribution > &value)
UpdateDistributionConfigurationRequest & WithDistributionConfigurationArn(const char *value)
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
UpdateDistributionConfigurationRequest & WithDescription(const Aws::String &value)
UpdateDistributionConfigurationRequest & WithClientToken(const Aws::String &value)
UpdateDistributionConfigurationRequest & WithDistributionConfigurationArn(const Aws::String &value)
UpdateDistributionConfigurationRequest & WithDistributionConfigurationArn(Aws::String &&value)
UpdateDistributionConfigurationRequest & WithDistributions(Aws::Vector< Distribution > &&value)
UpdateDistributionConfigurationRequest & WithDescription(const char *value)
UpdateDistributionConfigurationRequest & WithDescription(Aws::String &&value)
UpdateDistributionConfigurationRequest & AddDistributions(const Distribution &value)
UpdateDistributionConfigurationRequest & WithClientToken(const char *value)
UpdateDistributionConfigurationRequest & WithClientToken(Aws::String &&value)
UpdateDistributionConfigurationRequest & AddDistributions(Distribution &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector