AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
50 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
51 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
52 inline AccountFreeTrialInfo& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
53 inline AccountFreeTrialInfo& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
54 inline AccountFreeTrialInfo& WithAccountId(const char* value) { SetAccountId(value); return *this;}
56
58
61 inline const Aws::Vector<FreeTrialFeatureConfigurationResult>& GetFeatures() const{ return m_features; }
62 inline bool FeaturesHasBeenSet() const { return m_featuresHasBeenSet; }
63 inline void SetFeatures(const Aws::Vector<FreeTrialFeatureConfigurationResult>& value) { m_featuresHasBeenSet = true; m_features = value; }
64 inline void SetFeatures(Aws::Vector<FreeTrialFeatureConfigurationResult>&& value) { m_featuresHasBeenSet = true; m_features = std::move(value); }
67 inline AccountFreeTrialInfo& AddFeatures(const FreeTrialFeatureConfigurationResult& value) { m_featuresHasBeenSet = true; m_features.push_back(value); return *this; }
68 inline AccountFreeTrialInfo& AddFeatures(FreeTrialFeatureConfigurationResult&& value) { m_featuresHasBeenSet = true; m_features.push_back(std::move(value)); return *this; }
70 private:
71
72 Aws::String m_accountId;
73 bool m_accountIdHasBeenSet = false;
74
76 bool m_featuresHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace GuardDuty
81} // namespace Aws
AccountFreeTrialInfo & WithFeatures(const Aws::Vector< FreeTrialFeatureConfigurationResult > &value)
AccountFreeTrialInfo & WithAccountId(Aws::String &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API AccountFreeTrialInfo(Aws::Utils::Json::JsonView jsonValue)
AccountFreeTrialInfo & AddFeatures(FreeTrialFeatureConfigurationResult &&value)
AccountFreeTrialInfo & WithAccountId(const Aws::String &value)
AccountFreeTrialInfo & AddFeatures(const FreeTrialFeatureConfigurationResult &value)
AccountFreeTrialInfo & WithAccountId(const char *value)
void SetFeatures(const Aws::Vector< FreeTrialFeatureConfigurationResult > &value)
AWS_GUARDDUTY_API AccountFreeTrialInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFeatures(Aws::Vector< FreeTrialFeatureConfigurationResult > &&value)
AccountFreeTrialInfo & WithFeatures(Aws::Vector< FreeTrialFeatureConfigurationResult > &&value)
const Aws::Vector< FreeTrialFeatureConfigurationResult > & GetFeatures() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue