AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateLongTermPricingRequest.h
1
6#pragma once
7#include <aws/snowball/Snowball_EXPORTS.h>
8#include <aws/snowball/SnowballRequest.h>
9#include <aws/snowball/model/LongTermPricingType.h>
10#include <aws/snowball/model/SnowballType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Snowball
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SNOWBALL_API CreateLongTermPricingRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateLongTermPricing"; }
32
33 AWS_SNOWBALL_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline LongTermPricingType GetLongTermPricingType() const { return m_longTermPricingType; }
44 inline bool LongTermPricingTypeHasBeenSet() const { return m_longTermPricingTypeHasBeenSet; }
45 inline void SetLongTermPricingType(LongTermPricingType value) { m_longTermPricingTypeHasBeenSet = true; m_longTermPricingType = value; }
48
50
54 inline bool GetIsLongTermPricingAutoRenew() const { return m_isLongTermPricingAutoRenew; }
55 inline bool IsLongTermPricingAutoRenewHasBeenSet() const { return m_isLongTermPricingAutoRenewHasBeenSet; }
56 inline void SetIsLongTermPricingAutoRenew(bool value) { m_isLongTermPricingAutoRenewHasBeenSet = true; m_isLongTermPricingAutoRenew = value; }
59
61
64 inline SnowballType GetSnowballType() const { return m_snowballType; }
65 inline bool SnowballTypeHasBeenSet() const { return m_snowballTypeHasBeenSet; }
66 inline void SetSnowballType(SnowballType value) { m_snowballTypeHasBeenSet = true; m_snowballType = value; }
69 private:
70
72 bool m_longTermPricingTypeHasBeenSet = false;
73
74 bool m_isLongTermPricingAutoRenew{false};
75 bool m_isLongTermPricingAutoRenewHasBeenSet = false;
76
77 SnowballType m_snowballType{SnowballType::NOT_SET};
78 bool m_snowballTypeHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Snowball
83} // namespace Aws
CreateLongTermPricingRequest & WithLongTermPricingType(LongTermPricingType value)
CreateLongTermPricingRequest & WithIsLongTermPricingAutoRenew(bool value)
AWS_SNOWBALL_API CreateLongTermPricingRequest()=default
CreateLongTermPricingRequest & WithSnowballType(SnowballType value)
AWS_SNOWBALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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