7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/appmonetization/model/OneTimePriceDefinition.h>
9#include <aws/appmonetization/model/PlanStage.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace AppMonetization {
43 template <
typename ArnT = Aws::String>
45 m_arnHasBeenSet =
true;
46 m_arn = std::forward<ArnT>(value);
48 template <
typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
61 template <
typename AppIdT = Aws::String>
63 m_appIdHasBeenSet =
true;
64 m_appId = std::forward<AppIdT>(value);
66 template <
typename AppIdT = Aws::String>
68 SetAppId(std::forward<AppIdT>(value));
79 template <
typename OneTimePriceIdT = Aws::String>
81 m_oneTimePriceIdHasBeenSet =
true;
82 m_oneTimePriceId = std::forward<OneTimePriceIdT>(value);
84 template <
typename OneTimePriceIdT = Aws::String>
98 template <
typename DefinitionT = OneTimePriceDefinition>
100 m_definitionHasBeenSet =
true;
101 m_definition = std::forward<DefinitionT>(value);
103 template <
typename DefinitionT = OneTimePriceDefinition>
117 m_stageHasBeenSet =
true;
135 bool m_arnHasBeenSet =
false;
136 bool m_appIdHasBeenSet =
false;
137 bool m_oneTimePriceIdHasBeenSet =
false;
138 bool m_definitionHasBeenSet =
false;
139 bool m_stageHasBeenSet =
false;
void SetDefinition(DefinitionT &&value)
AWS_APPMONETIZATION_API OneTimePrice(Aws::Utils::Json::JsonView jsonValue)
bool AppIdHasBeenSet() const
void SetStage(PlanStage value)
OneTimePrice & WithOneTimePriceId(OneTimePriceIdT &&value)
OneTimePrice & WithAppId(AppIdT &&value)
void SetOneTimePriceId(OneTimePriceIdT &&value)
bool StageHasBeenSet() const
bool DefinitionHasBeenSet() const
bool ArnHasBeenSet() const
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArn(ArnT &&value)
const OneTimePriceDefinition & GetDefinition() const
const Aws::String & GetOneTimePriceId() const
OneTimePrice & WithArn(ArnT &&value)
OneTimePrice & WithStage(PlanStage value)
void SetAppId(AppIdT &&value)
const Aws::String & GetAppId() const
bool OneTimePriceIdHasBeenSet() const
AWS_APPMONETIZATION_API OneTimePrice & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
OneTimePrice & WithDefinition(DefinitionT &&value)
AWS_APPMONETIZATION_API OneTimePrice()=default
PlanStage GetStage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue