AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FreeTrialAccountInfo.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/inspector2/model/FreeTrialInfo.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 Inspector2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_INSPECTOR2_API FreeTrialAccountInfo();
38 AWS_INSPECTOR2_API FreeTrialAccountInfo(Aws::Utils::Json::JsonView jsonValue);
40 AWS_INSPECTOR2_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 FreeTrialAccountInfo& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
53 inline FreeTrialAccountInfo& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
54 inline FreeTrialAccountInfo& WithAccountId(const char* value) { SetAccountId(value); return *this;}
56
58
62 inline const Aws::Vector<FreeTrialInfo>& GetFreeTrialInfo() const{ return m_freeTrialInfo; }
63 inline bool FreeTrialInfoHasBeenSet() const { return m_freeTrialInfoHasBeenSet; }
64 inline void SetFreeTrialInfo(const Aws::Vector<FreeTrialInfo>& value) { m_freeTrialInfoHasBeenSet = true; m_freeTrialInfo = value; }
65 inline void SetFreeTrialInfo(Aws::Vector<FreeTrialInfo>&& value) { m_freeTrialInfoHasBeenSet = true; m_freeTrialInfo = std::move(value); }
67 inline FreeTrialAccountInfo& WithFreeTrialInfo(Aws::Vector<FreeTrialInfo>&& value) { SetFreeTrialInfo(std::move(value)); return *this;}
68 inline FreeTrialAccountInfo& AddFreeTrialInfo(const FreeTrialInfo& value) { m_freeTrialInfoHasBeenSet = true; m_freeTrialInfo.push_back(value); return *this; }
69 inline FreeTrialAccountInfo& AddFreeTrialInfo(FreeTrialInfo&& value) { m_freeTrialInfoHasBeenSet = true; m_freeTrialInfo.push_back(std::move(value)); return *this; }
71 private:
72
73 Aws::String m_accountId;
74 bool m_accountIdHasBeenSet = false;
75
76 Aws::Vector<FreeTrialInfo> m_freeTrialInfo;
77 bool m_freeTrialInfoHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Inspector2
82} // namespace Aws
FreeTrialAccountInfo & AddFreeTrialInfo(const FreeTrialInfo &value)
FreeTrialAccountInfo & AddFreeTrialInfo(FreeTrialInfo &&value)
FreeTrialAccountInfo & WithAccountId(const Aws::String &value)
AWS_INSPECTOR2_API FreeTrialAccountInfo(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< FreeTrialInfo > & GetFreeTrialInfo() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
FreeTrialAccountInfo & WithAccountId(const char *value)
void SetFreeTrialInfo(const Aws::Vector< FreeTrialInfo > &value)
FreeTrialAccountInfo & WithFreeTrialInfo(Aws::Vector< FreeTrialInfo > &&value)
FreeTrialAccountInfo & WithFreeTrialInfo(const Aws::Vector< FreeTrialInfo > &value)
void SetFreeTrialInfo(Aws::Vector< FreeTrialInfo > &&value)
FreeTrialAccountInfo & WithAccountId(Aws::String &&value)
AWS_INSPECTOR2_API FreeTrialAccountInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue