AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateLongTermPricingRequest.h
1
6#pragma once
7#include <aws/snowball/Snowball_EXPORTS.h>
8#include <aws/snowball/SnowballRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Snowball
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SNOWBALL_API UpdateLongTermPricingRequest();
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 "UpdateLongTermPricing"; }
31
32 AWS_SNOWBALL_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetLongTermPricingId() const{ return m_longTermPricingId; }
42 inline bool LongTermPricingIdHasBeenSet() const { return m_longTermPricingIdHasBeenSet; }
43 inline void SetLongTermPricingId(const Aws::String& value) { m_longTermPricingIdHasBeenSet = true; m_longTermPricingId = value; }
44 inline void SetLongTermPricingId(Aws::String&& value) { m_longTermPricingIdHasBeenSet = true; m_longTermPricingId = std::move(value); }
45 inline void SetLongTermPricingId(const char* value) { m_longTermPricingIdHasBeenSet = true; m_longTermPricingId.assign(value); }
47 inline UpdateLongTermPricingRequest& WithLongTermPricingId(Aws::String&& value) { SetLongTermPricingId(std::move(value)); return *this;}
48 inline UpdateLongTermPricingRequest& WithLongTermPricingId(const char* value) { SetLongTermPricingId(value); return *this;}
50
52
56 inline const Aws::String& GetReplacementJob() const{ return m_replacementJob; }
57 inline bool ReplacementJobHasBeenSet() const { return m_replacementJobHasBeenSet; }
58 inline void SetReplacementJob(const Aws::String& value) { m_replacementJobHasBeenSet = true; m_replacementJob = value; }
59 inline void SetReplacementJob(Aws::String&& value) { m_replacementJobHasBeenSet = true; m_replacementJob = std::move(value); }
60 inline void SetReplacementJob(const char* value) { m_replacementJobHasBeenSet = true; m_replacementJob.assign(value); }
62 inline UpdateLongTermPricingRequest& WithReplacementJob(Aws::String&& value) { SetReplacementJob(std::move(value)); return *this;}
63 inline UpdateLongTermPricingRequest& WithReplacementJob(const char* value) { SetReplacementJob(value); return *this;}
65
67
72 inline bool GetIsLongTermPricingAutoRenew() const{ return m_isLongTermPricingAutoRenew; }
73 inline bool IsLongTermPricingAutoRenewHasBeenSet() const { return m_isLongTermPricingAutoRenewHasBeenSet; }
74 inline void SetIsLongTermPricingAutoRenew(bool value) { m_isLongTermPricingAutoRenewHasBeenSet = true; m_isLongTermPricingAutoRenew = value; }
77 private:
78
79 Aws::String m_longTermPricingId;
80 bool m_longTermPricingIdHasBeenSet = false;
81
82 Aws::String m_replacementJob;
83 bool m_replacementJobHasBeenSet = false;
84
85 bool m_isLongTermPricingAutoRenew;
86 bool m_isLongTermPricingAutoRenewHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Snowball
91} // namespace Aws
AWS_SNOWBALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateLongTermPricingRequest & WithLongTermPricingId(const char *value)
UpdateLongTermPricingRequest & WithLongTermPricingId(const Aws::String &value)
UpdateLongTermPricingRequest & WithReplacementJob(Aws::String &&value)
UpdateLongTermPricingRequest & WithReplacementJob(const char *value)
UpdateLongTermPricingRequest & WithLongTermPricingId(Aws::String &&value)
UpdateLongTermPricingRequest & WithReplacementJob(const Aws::String &value)
UpdateLongTermPricingRequest & WithIsLongTermPricingAutoRenew(bool value)
AWS_SNOWBALL_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String