AWS SDK for C++  1.9.104
AWS SDK for C++
UpdateBucketBundleRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Lightsail
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 "UpdateBucketBundle"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetBucketName() const{ return m_bucketName; }
41 
45  inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
46 
50  inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
51 
55  inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
56 
60  inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
61 
65  inline UpdateBucketBundleRequest& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
66 
70  inline UpdateBucketBundleRequest& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
71 
75  inline UpdateBucketBundleRequest& WithBucketName(const char* value) { SetBucketName(value); return *this;}
76 
77 
83  inline const Aws::String& GetBundleId() const{ return m_bundleId; }
84 
90  inline bool BundleIdHasBeenSet() const { return m_bundleIdHasBeenSet; }
91 
97  inline void SetBundleId(const Aws::String& value) { m_bundleIdHasBeenSet = true; m_bundleId = value; }
98 
104  inline void SetBundleId(Aws::String&& value) { m_bundleIdHasBeenSet = true; m_bundleId = std::move(value); }
105 
111  inline void SetBundleId(const char* value) { m_bundleIdHasBeenSet = true; m_bundleId.assign(value); }
112 
118  inline UpdateBucketBundleRequest& WithBundleId(const Aws::String& value) { SetBundleId(value); return *this;}
119 
125  inline UpdateBucketBundleRequest& WithBundleId(Aws::String&& value) { SetBundleId(std::move(value)); return *this;}
126 
132  inline UpdateBucketBundleRequest& WithBundleId(const char* value) { SetBundleId(value); return *this;}
133 
134  private:
135 
136  Aws::String m_bucketName;
137  bool m_bucketNameHasBeenSet;
138 
139  Aws::String m_bundleId;
140  bool m_bundleIdHasBeenSet;
141  };
142 
143 } // namespace Model
144 } // namespace Lightsail
145 } // namespace Aws
Aws::Lightsail::Model::UpdateBucketBundleRequest::WithBundleId
UpdateBucketBundleRequest & WithBundleId(const char *value)
Definition: UpdateBucketBundleRequest.h:132
Aws::Lightsail::Model::UpdateBucketBundleRequest::SetBucketName
void SetBucketName(const char *value)
Definition: UpdateBucketBundleRequest.h:60
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Lightsail::Model::UpdateBucketBundleRequest::WithBucketName
UpdateBucketBundleRequest & WithBucketName(Aws::String &&value)
Definition: UpdateBucketBundleRequest.h:70
Aws::Lightsail::Model::UpdateBucketBundleRequest
Definition: UpdateBucketBundleRequest.h:22
LightsailRequest.h
Aws::Lightsail::Model::UpdateBucketBundleRequest::SetBucketName
void SetBucketName(Aws::String &&value)
Definition: UpdateBucketBundleRequest.h:55
Aws::Lightsail::Model::UpdateBucketBundleRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateBucketBundleRequest.h:30
Aws::Lightsail::Model::UpdateBucketBundleRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Lightsail::LightsailRequest
Definition: LightsailRequest.h:17
Aws::Lightsail::Model::UpdateBucketBundleRequest::WithBucketName
UpdateBucketBundleRequest & WithBucketName(const char *value)
Definition: UpdateBucketBundleRequest.h:75
AWSString.h
Aws::Lightsail::Model::UpdateBucketBundleRequest::UpdateBucketBundleRequest
UpdateBucketBundleRequest()
Aws::Lightsail::Model::UpdateBucketBundleRequest::GetBundleId
const Aws::String & GetBundleId() const
Definition: UpdateBucketBundleRequest.h:83
Aws::Lightsail::Model::UpdateBucketBundleRequest::SetBucketName
void SetBucketName(const Aws::String &value)
Definition: UpdateBucketBundleRequest.h:50
Aws::Lightsail::Model::UpdateBucketBundleRequest::BucketNameHasBeenSet
bool BucketNameHasBeenSet() const
Definition: UpdateBucketBundleRequest.h:45
Lightsail_EXPORTS.h
Aws::Lightsail::Model::UpdateBucketBundleRequest::SetBundleId
void SetBundleId(const char *value)
Definition: UpdateBucketBundleRequest.h:111
Aws::Lightsail::Model::UpdateBucketBundleRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lightsail::Model::UpdateBucketBundleRequest::SetBundleId
void SetBundleId(Aws::String &&value)
Definition: UpdateBucketBundleRequest.h:104
Aws::Lightsail::Model::UpdateBucketBundleRequest::WithBundleId
UpdateBucketBundleRequest & WithBundleId(Aws::String &&value)
Definition: UpdateBucketBundleRequest.h:125
Aws::Lightsail::Model::UpdateBucketBundleRequest::WithBundleId
UpdateBucketBundleRequest & WithBundleId(const Aws::String &value)
Definition: UpdateBucketBundleRequest.h:118
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::UpdateBucketBundleRequest::WithBucketName
UpdateBucketBundleRequest & WithBucketName(const Aws::String &value)
Definition: UpdateBucketBundleRequest.h:65
Aws::Lightsail::Model::UpdateBucketBundleRequest::GetBucketName
const Aws::String & GetBucketName() const
Definition: UpdateBucketBundleRequest.h:40
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::UpdateBucketBundleRequest::SetBundleId
void SetBundleId(const Aws::String &value)
Definition: UpdateBucketBundleRequest.h:97
Aws::Lightsail::Model::UpdateBucketBundleRequest::BundleIdHasBeenSet
bool BundleIdHasBeenSet() const
Definition: UpdateBucketBundleRequest.h:90