AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRemainingFreeTrialDaysResult.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/guardduty/model/AccountFreeTrialInfo.h>
11#include <aws/guardduty/model/UnprocessedAccount.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace GuardDuty
27{
28namespace Model
29{
31 {
32 public:
36
37
39
43 inline const Aws::Vector<AccountFreeTrialInfo>& GetAccounts() const{ return m_accounts; }
44 inline void SetAccounts(const Aws::Vector<AccountFreeTrialInfo>& value) { m_accounts = value; }
45 inline void SetAccounts(Aws::Vector<AccountFreeTrialInfo>&& value) { m_accounts = std::move(value); }
48 inline GetRemainingFreeTrialDaysResult& AddAccounts(const AccountFreeTrialInfo& value) { m_accounts.push_back(value); return *this; }
49 inline GetRemainingFreeTrialDaysResult& AddAccounts(AccountFreeTrialInfo&& value) { m_accounts.push_back(std::move(value)); return *this; }
51
53
57 inline const Aws::Vector<UnprocessedAccount>& GetUnprocessedAccounts() const{ return m_unprocessedAccounts; }
58 inline void SetUnprocessedAccounts(const Aws::Vector<UnprocessedAccount>& value) { m_unprocessedAccounts = value; }
59 inline void SetUnprocessedAccounts(Aws::Vector<UnprocessedAccount>&& value) { m_unprocessedAccounts = std::move(value); }
62 inline GetRemainingFreeTrialDaysResult& AddUnprocessedAccounts(const UnprocessedAccount& value) { m_unprocessedAccounts.push_back(value); return *this; }
63 inline GetRemainingFreeTrialDaysResult& AddUnprocessedAccounts(UnprocessedAccount&& value) { m_unprocessedAccounts.push_back(std::move(value)); return *this; }
65
67
68 inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
70 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
71 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
72 inline GetRemainingFreeTrialDaysResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline GetRemainingFreeTrialDaysResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline GetRemainingFreeTrialDaysResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
79
80 Aws::Vector<UnprocessedAccount> m_unprocessedAccounts;
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace GuardDuty
87} // namespace Aws
GetRemainingFreeTrialDaysResult & AddUnprocessedAccounts(const UnprocessedAccount &value)
void SetUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
GetRemainingFreeTrialDaysResult & AddAccounts(AccountFreeTrialInfo &&value)
GetRemainingFreeTrialDaysResult & AddUnprocessedAccounts(UnprocessedAccount &&value)
AWS_GUARDDUTY_API GetRemainingFreeTrialDaysResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRemainingFreeTrialDaysResult & WithUnprocessedAccounts(Aws::Vector< UnprocessedAccount > &&value)
GetRemainingFreeTrialDaysResult & WithAccounts(Aws::Vector< AccountFreeTrialInfo > &&value)
void SetAccounts(Aws::Vector< AccountFreeTrialInfo > &&value)
const Aws::Vector< UnprocessedAccount > & GetUnprocessedAccounts() const
AWS_GUARDDUTY_API GetRemainingFreeTrialDaysResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRemainingFreeTrialDaysResult & AddAccounts(const AccountFreeTrialInfo &value)
GetRemainingFreeTrialDaysResult & WithRequestId(const char *value)
GetRemainingFreeTrialDaysResult & WithUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
const Aws::Vector< AccountFreeTrialInfo > & GetAccounts() const
GetRemainingFreeTrialDaysResult & WithRequestId(Aws::String &&value)
void SetUnprocessedAccounts(const Aws::Vector< UnprocessedAccount > &value)
GetRemainingFreeTrialDaysResult & WithAccounts(const Aws::Vector< AccountFreeTrialInfo > &value)
void SetAccounts(const Aws::Vector< AccountFreeTrialInfo > &value)
GetRemainingFreeTrialDaysResult & WithRequestId(const Aws::String &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