7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
10#include <aws/devops-agent/model/NewRelicRegion.h>
21namespace DevOpsAgent {
43 template <
typename ApiKeyT = Aws::String>
45 m_apiKeyHasBeenSet =
true;
46 m_apiKey = std::forward<ApiKeyT>(value);
48 template <
typename ApiKeyT = Aws::String>
61 template <
typename AccountIdT = Aws::String>
63 m_accountIdHasBeenSet =
true;
64 m_accountId = std::forward<AccountIdT>(value);
66 template <
typename AccountIdT = Aws::String>
80 m_regionHasBeenSet =
true;
95 template <
typename ApplicationIdsT = Aws::Vector<Aws::String>>
97 m_applicationIdsHasBeenSet =
true;
98 m_applicationIds = std::forward<ApplicationIdsT>(value);
100 template <
typename ApplicationIdsT = Aws::Vector<Aws::String>>
105 template <
typename ApplicationIdsT = Aws::String>
107 m_applicationIdsHasBeenSet =
true;
108 m_applicationIds.emplace_back(std::forward<ApplicationIdsT>(value));
120 template <
typename EntityGu
idsT = Aws::Vector<Aws::String>>
122 m_entityGuidsHasBeenSet =
true;
123 m_entityGuids = std::forward<EntityGuidsT>(value);
125 template <
typename EntityGu
idsT = Aws::Vector<Aws::String>>
130 template <
typename EntityGu
idsT = Aws::String>
132 m_entityGuidsHasBeenSet =
true;
133 m_entityGuids.emplace_back(std::forward<EntityGuidsT>(value));
144 template <
typename AlertPolicyIdsT = Aws::Vector<Aws::String>>
146 m_alertPolicyIdsHasBeenSet =
true;
147 m_alertPolicyIds = std::forward<AlertPolicyIdsT>(value);
149 template <
typename AlertPolicyIdsT = Aws::Vector<Aws::String>>
154 template <
typename AlertPolicyIdsT = Aws::String>
156 m_alertPolicyIdsHasBeenSet =
true;
157 m_alertPolicyIds.emplace_back(std::forward<AlertPolicyIdsT>(value));
173 bool m_apiKeyHasBeenSet =
false;
174 bool m_accountIdHasBeenSet =
false;
175 bool m_regionHasBeenSet =
false;
176 bool m_applicationIdsHasBeenSet =
false;
177 bool m_entityGuidsHasBeenSet =
false;
178 bool m_alertPolicyIdsHasBeenSet =
false;
NewRelicApiKeyConfig & AddApplicationIds(ApplicationIdsT &&value)
const Aws::Vector< Aws::String > & GetEntityGuids() const
bool EntityGuidsHasBeenSet() const
AWS_DEVOPSAGENT_API NewRelicApiKeyConfig()=default
void SetApiKey(ApiKeyT &&value)
NewRelicApiKeyConfig & AddEntityGuids(EntityGuidsT &&value)
const Aws::Vector< Aws::String > & GetAlertPolicyIds() const
void SetAlertPolicyIds(AlertPolicyIdsT &&value)
const Aws::Vector< Aws::String > & GetApplicationIds() const
bool AlertPolicyIdsHasBeenSet() const
bool ApplicationIdsHasBeenSet() const
NewRelicApiKeyConfig & WithAlertPolicyIds(AlertPolicyIdsT &&value)
AWS_DEVOPSAGENT_API NewRelicApiKeyConfig(Aws::Utils::Json::JsonView jsonValue)
NewRelicApiKeyConfig & WithEntityGuids(EntityGuidsT &&value)
void SetApplicationIds(ApplicationIdsT &&value)
void SetRegion(NewRelicRegion value)
NewRelicApiKeyConfig & WithApiKey(ApiKeyT &&value)
NewRelicApiKeyConfig & WithApplicationIds(ApplicationIdsT &&value)
void SetAccountId(AccountIdT &&value)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAccountId() const
const Aws::String & GetApiKey() const
bool RegionHasBeenSet() const
bool ApiKeyHasBeenSet() const
NewRelicApiKeyConfig & WithRegion(NewRelicRegion value)
void SetEntityGuids(EntityGuidsT &&value)
NewRelicApiKeyConfig & WithAccountId(AccountIdT &&value)
NewRelicApiKeyConfig & AddAlertPolicyIds(AlertPolicyIdsT &&value)
AWS_DEVOPSAGENT_API NewRelicApiKeyConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
NewRelicRegion GetRegion() const
bool AccountIdHasBeenSet() 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