AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 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 FreeTrialAccountInfo& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
54
56
60 inline const Aws::Vector<FreeTrialInfo>& GetFreeTrialInfo() const { return m_freeTrialInfo; }
61 inline bool FreeTrialInfoHasBeenSet() const { return m_freeTrialInfoHasBeenSet; }
62 template<typename FreeTrialInfoT = Aws::Vector<FreeTrialInfo>>
63 void SetFreeTrialInfo(FreeTrialInfoT&& value) { m_freeTrialInfoHasBeenSet = true; m_freeTrialInfo = std::forward<FreeTrialInfoT>(value); }
64 template<typename FreeTrialInfoT = Aws::Vector<FreeTrialInfo>>
65 FreeTrialAccountInfo& WithFreeTrialInfo(FreeTrialInfoT&& value) { SetFreeTrialInfo(std::forward<FreeTrialInfoT>(value)); return *this;}
66 template<typename FreeTrialInfoT = FreeTrialInfo>
67 FreeTrialAccountInfo& AddFreeTrialInfo(FreeTrialInfoT&& value) { m_freeTrialInfoHasBeenSet = true; m_freeTrialInfo.emplace_back(std::forward<FreeTrialInfoT>(value)); return *this; }
69 private:
70
71 Aws::String m_accountId;
72 bool m_accountIdHasBeenSet = false;
73
74 Aws::Vector<FreeTrialInfo> m_freeTrialInfo;
75 bool m_freeTrialInfoHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Inspector2
80} // namespace Aws
FreeTrialAccountInfo & AddFreeTrialInfo(FreeTrialInfoT &&value)
AWS_INSPECTOR2_API FreeTrialAccountInfo()=default
AWS_INSPECTOR2_API FreeTrialAccountInfo(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< FreeTrialInfo > & GetFreeTrialInfo() const
FreeTrialAccountInfo & WithFreeTrialInfo(FreeTrialInfoT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
FreeTrialAccountInfo & WithAccountId(AccountIdT &&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