AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const LongTermPricingType& GetLongTermPricingType() const{ return m_longTermPricingType; }
44 inline bool LongTermPricingTypeHasBeenSet() const { return m_longTermPricingTypeHasBeenSet; }
45 inline void SetLongTermPricingType(const LongTermPricingType& value) { m_longTermPricingTypeHasBeenSet = true; m_longTermPricingType = value; }
46 inline void SetLongTermPricingType(LongTermPricingType&& value) { m_longTermPricingTypeHasBeenSet = true; m_longTermPricingType = std::move(value); }
50
52
56 inline bool GetIsLongTermPricingAutoRenew() const{ return m_isLongTermPricingAutoRenew; }
57 inline bool IsLongTermPricingAutoRenewHasBeenSet() const { return m_isLongTermPricingAutoRenewHasBeenSet; }
58 inline void SetIsLongTermPricingAutoRenew(bool value) { m_isLongTermPricingAutoRenewHasBeenSet = true; m_isLongTermPricingAutoRenew = value; }
61
63
66 inline const SnowballType& GetSnowballType() const{ return m_snowballType; }
67 inline bool SnowballTypeHasBeenSet() const { return m_snowballTypeHasBeenSet; }
68 inline void SetSnowballType(const SnowballType& value) { m_snowballTypeHasBeenSet = true; m_snowballType = value; }
69 inline void SetSnowballType(SnowballType&& value) { m_snowballTypeHasBeenSet = true; m_snowballType = std::move(value); }
70 inline CreateLongTermPricingRequest& WithSnowballType(const SnowballType& value) { SetSnowballType(value); return *this;}
71 inline CreateLongTermPricingRequest& WithSnowballType(SnowballType&& value) { SetSnowballType(std::move(value)); return *this;}
73 private:
74
75 LongTermPricingType m_longTermPricingType;
76 bool m_longTermPricingTypeHasBeenSet = false;
77
78 bool m_isLongTermPricingAutoRenew;
79 bool m_isLongTermPricingAutoRenewHasBeenSet = false;
80
81 SnowballType m_snowballType;
82 bool m_snowballTypeHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Snowball
87} // namespace Aws
CreateLongTermPricingRequest & WithSnowballType(SnowballType &&value)
void SetLongTermPricingType(const LongTermPricingType &value)
CreateLongTermPricingRequest & WithIsLongTermPricingAutoRenew(bool value)
CreateLongTermPricingRequest & WithLongTermPricingType(LongTermPricingType &&value)
AWS_SNOWBALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateLongTermPricingRequest & WithLongTermPricingType(const LongTermPricingType &value)
CreateLongTermPricingRequest & WithSnowballType(const SnowballType &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