7#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
8#include <aws/application-insights/ApplicationInsightsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/application-insights/model/GroupingType.h>
12#include <aws/application-insights/model/Tag.h>
17namespace ApplicationInsights
46 template<
typename ResourceGroupNameT = Aws::String>
47 void SetResourceGroupName(ResourceGroupNameT&& value) { m_resourceGroupNameHasBeenSet =
true; m_resourceGroupName = std::forward<ResourceGroupNameT>(value); }
48 template<
typename ResourceGroupNameT = Aws::String>
59 inline void SetOpsCenterEnabled(
bool value) { m_opsCenterEnabledHasBeenSet =
true; m_opsCenterEnabled = value; }
71 inline void SetCWEMonitorEnabled(
bool value) { m_cWEMonitorEnabledHasBeenSet =
true; m_cWEMonitorEnabled = value; }
83 template<
typename OpsItemSNSTopicArnT = Aws::String>
84 void SetOpsItemSNSTopicArn(OpsItemSNSTopicArnT&& value) { m_opsItemSNSTopicArnHasBeenSet =
true; m_opsItemSNSTopicArn = std::forward<OpsItemSNSTopicArnT>(value); }
85 template<
typename OpsItemSNSTopicArnT = Aws::String>
95 template<
typename SNSNotificationArnT = Aws::String>
96 void SetSNSNotificationArn(SNSNotificationArnT&& value) { m_sNSNotificationArnHasBeenSet =
true; m_sNSNotificationArn = std::forward<SNSNotificationArnT>(value); }
97 template<
typename SNSNotificationArnT = Aws::String>
109 template<
typename TagsT = Aws::Vector<Tag>>
110 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
111 template<
typename TagsT = Aws::Vector<Tag>>
113 template<
typename TagsT = Tag>
124 inline void SetAutoConfigEnabled(
bool value) { m_autoConfigEnabledHasBeenSet =
true; m_autoConfigEnabled = value; }
135 inline void SetAutoCreate(
bool value) { m_autoCreateHasBeenSet =
true; m_autoCreate = value; }
164 bool m_resourceGroupNameHasBeenSet =
false;
166 bool m_opsCenterEnabled{
false};
167 bool m_opsCenterEnabledHasBeenSet =
false;
169 bool m_cWEMonitorEnabled{
false};
170 bool m_cWEMonitorEnabledHasBeenSet =
false;
173 bool m_opsItemSNSTopicArnHasBeenSet =
false;
176 bool m_sNSNotificationArnHasBeenSet =
false;
179 bool m_tagsHasBeenSet =
false;
181 bool m_autoConfigEnabled{
false};
182 bool m_autoConfigEnabledHasBeenSet =
false;
184 bool m_autoCreate{
false};
185 bool m_autoCreateHasBeenSet =
false;
188 bool m_groupingTypeHasBeenSet =
false;
190 bool m_attachMissingPermission{
false};
191 bool m_attachMissingPermissionHasBeenSet =
false;
GroupingType GetGroupingType() const
void SetSNSNotificationArn(SNSNotificationArnT &&value)
bool GetCWEMonitorEnabled() const
bool AttachMissingPermissionHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetTags(TagsT &&value)
void SetCWEMonitorEnabled(bool value)
virtual const char * GetServiceRequestName() const override
void SetAutoConfigEnabled(bool value)
bool TagsHasBeenSet() const
bool CWEMonitorEnabledHasBeenSet() const
CreateApplicationRequest & WithAutoCreate(bool value)
bool AutoConfigEnabledHasBeenSet() const
bool OpsItemSNSTopicArnHasBeenSet() const
const Aws::String & GetResourceGroupName() const
void SetResourceGroupName(ResourceGroupNameT &&value)
const Aws::String & GetSNSNotificationArn() const
bool GetOpsCenterEnabled() const
CreateApplicationRequest & WithResourceGroupName(ResourceGroupNameT &&value)
AWS_APPLICATIONINSIGHTS_API CreateApplicationRequest()=default
AWS_APPLICATIONINSIGHTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetAutoCreate(bool value)
bool ResourceGroupNameHasBeenSet() const
bool OpsCenterEnabledHasBeenSet() const
CreateApplicationRequest & WithOpsCenterEnabled(bool value)
AWS_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override
CreateApplicationRequest & WithSNSNotificationArn(SNSNotificationArnT &&value)
bool SNSNotificationArnHasBeenSet() const
void SetOpsItemSNSTopicArn(OpsItemSNSTopicArnT &&value)
bool AutoCreateHasBeenSet() const
bool GetAutoCreate() const
CreateApplicationRequest & WithOpsItemSNSTopicArn(OpsItemSNSTopicArnT &&value)
CreateApplicationRequest & WithGroupingType(GroupingType value)
CreateApplicationRequest & AddTags(TagsT &&value)
CreateApplicationRequest & WithAttachMissingPermission(bool value)
void SetGroupingType(GroupingType value)
const Aws::String & GetOpsItemSNSTopicArn() const
bool GetAutoConfigEnabled() const
CreateApplicationRequest & WithTags(TagsT &&value)
void SetAttachMissingPermission(bool value)
CreateApplicationRequest & WithAutoConfigEnabled(bool value)
void SetOpsCenterEnabled(bool value)
bool GetAttachMissingPermission() const
CreateApplicationRequest & WithCWEMonitorEnabled(bool value)
bool GroupingTypeHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector