AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
AccountFreeTrialInfo.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/guardduty/model/FreeTrialFeatureConfigurationResult.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GuardDuty
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GUARDDUTY_API AccountFreeTrialInfo() = default;
40 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetAccountId() const { return m_accountId; }
48 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
49 template<typename AccountIdT = Aws::String>
50 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
51 template<typename AccountIdT = Aws::String>
52 AccountFreeTrialInfo& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
54
56
59 inline const Aws::Vector<FreeTrialFeatureConfigurationResult>& GetFeatures() const { return m_features; }
60 inline bool FeaturesHasBeenSet() const { return m_featuresHasBeenSet; }
61 template<typename FeaturesT = Aws::Vector<FreeTrialFeatureConfigurationResult>>
62 void SetFeatures(FeaturesT&& value) { m_featuresHasBeenSet = true; m_features = std::forward<FeaturesT>(value); }
63 template<typename FeaturesT = Aws::Vector<FreeTrialFeatureConfigurationResult>>
64 AccountFreeTrialInfo& WithFeatures(FeaturesT&& value) { SetFeatures(std::forward<FeaturesT>(value)); return *this;}
65 template<typename FeaturesT = FreeTrialFeatureConfigurationResult>
66 AccountFreeTrialInfo& AddFeatures(FeaturesT&& value) { m_featuresHasBeenSet = true; m_features.emplace_back(std::forward<FeaturesT>(value)); return *this; }
68 private:
69
70 Aws::String m_accountId;
71 bool m_accountIdHasBeenSet = false;
72
74 bool m_featuresHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace GuardDuty
79} // namespace Aws
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API AccountFreeTrialInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API AccountFreeTrialInfo()=default
AccountFreeTrialInfo & AddFeatures(FeaturesT &&value)
AWS_GUARDDUTY_API AccountFreeTrialInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AccountFreeTrialInfo & WithAccountId(AccountIdT &&value)
const Aws::Vector< FreeTrialFeatureConfigurationResult > & GetFeatures() const
AccountFreeTrialInfo & WithFeatures(FeaturesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue