/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Input for CreatePlatformApplication action.See Also:
AWS
* API Reference
Application names must be made up of only uppercase and lowercase ASCII * letters, numbers, underscores, hyphens, and periods, and must be between 1 and * 256 characters long.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *Application names must be made up of only uppercase and lowercase ASCII * letters, numbers, underscores, hyphens, and periods, and must be between 1 and * 256 characters long.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *Application names must be made up of only uppercase and lowercase ASCII * letters, numbers, underscores, hyphens, and periods, and must be between 1 and * 256 characters long.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *Application names must be made up of only uppercase and lowercase ASCII * letters, numbers, underscores, hyphens, and periods, and must be between 1 and * 256 characters long.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *Application names must be made up of only uppercase and lowercase ASCII * letters, numbers, underscores, hyphens, and periods, and must be between 1 and * 256 characters long.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *Application names must be made up of only uppercase and lowercase ASCII * letters, numbers, underscores, hyphens, and periods, and must be between 1 and * 256 characters long.
*/ inline CreatePlatformApplicationRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *Application names must be made up of only uppercase and lowercase ASCII * letters, numbers, underscores, hyphens, and periods, and must be between 1 and * 256 characters long.
*/ inline CreatePlatformApplicationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *Application names must be made up of only uppercase and lowercase ASCII * letters, numbers, underscores, hyphens, and periods, and must be between 1 and * 256 characters long.
*/ inline CreatePlatformApplicationRequest& WithName(const char* value) { SetName(value); return *this;} /** *The following platforms are supported: ADM (Amazon Device Messaging), APNS * (Apple Push Notification Service), APNS_SANDBOX, and GCM (Firebase Cloud * Messaging).
*/ inline const Aws::String& GetPlatform() const{ return m_platform; } /** *The following platforms are supported: ADM (Amazon Device Messaging), APNS * (Apple Push Notification Service), APNS_SANDBOX, and GCM (Firebase Cloud * Messaging).
*/ inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; } /** *The following platforms are supported: ADM (Amazon Device Messaging), APNS * (Apple Push Notification Service), APNS_SANDBOX, and GCM (Firebase Cloud * Messaging).
*/ inline void SetPlatform(const Aws::String& value) { m_platformHasBeenSet = true; m_platform = value; } /** *The following platforms are supported: ADM (Amazon Device Messaging), APNS * (Apple Push Notification Service), APNS_SANDBOX, and GCM (Firebase Cloud * Messaging).
*/ inline void SetPlatform(Aws::String&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); } /** *The following platforms are supported: ADM (Amazon Device Messaging), APNS * (Apple Push Notification Service), APNS_SANDBOX, and GCM (Firebase Cloud * Messaging).
*/ inline void SetPlatform(const char* value) { m_platformHasBeenSet = true; m_platform.assign(value); } /** *The following platforms are supported: ADM (Amazon Device Messaging), APNS * (Apple Push Notification Service), APNS_SANDBOX, and GCM (Firebase Cloud * Messaging).
*/ inline CreatePlatformApplicationRequest& WithPlatform(const Aws::String& value) { SetPlatform(value); return *this;} /** *The following platforms are supported: ADM (Amazon Device Messaging), APNS * (Apple Push Notification Service), APNS_SANDBOX, and GCM (Firebase Cloud * Messaging).
*/ inline CreatePlatformApplicationRequest& WithPlatform(Aws::String&& value) { SetPlatform(std::move(value)); return *this;} /** *The following platforms are supported: ADM (Amazon Device Messaging), APNS * (Apple Push Notification Service), APNS_SANDBOX, and GCM (Firebase Cloud * Messaging).
*/ inline CreatePlatformApplicationRequest& WithPlatform(const char* value) { SetPlatform(value); return *this;} /** *For a list of attributes, see SetPlatformApplicationAttributes.
*/ inline const Aws::MapFor a list of attributes, see SetPlatformApplicationAttributes.
*/ inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } /** *For a list of attributes, see SetPlatformApplicationAttributes.
*/ inline void SetAttributes(const Aws::MapFor a list of attributes, see SetPlatformApplicationAttributes.
*/ inline void SetAttributes(Aws::MapFor a list of attributes, see SetPlatformApplicationAttributes.
*/ inline CreatePlatformApplicationRequest& WithAttributes(const Aws::MapFor a list of attributes, see SetPlatformApplicationAttributes.
*/ inline CreatePlatformApplicationRequest& WithAttributes(Aws::MapFor a list of attributes, see SetPlatformApplicationAttributes.
*/ inline CreatePlatformApplicationRequest& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } /** *For a list of attributes, see SetPlatformApplicationAttributes.
*/ inline CreatePlatformApplicationRequest& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } /** *For a list of attributes, see SetPlatformApplicationAttributes.
*/ inline CreatePlatformApplicationRequest& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } /** *For a list of attributes, see SetPlatformApplicationAttributes.
*/ inline CreatePlatformApplicationRequest& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; } /** *For a list of attributes, see SetPlatformApplicationAttributes.
*/ inline CreatePlatformApplicationRequest& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } /** *For a list of attributes, see SetPlatformApplicationAttributes.
*/ inline CreatePlatformApplicationRequest& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } /** *For a list of attributes, see SetPlatformApplicationAttributes.
*/ inline CreatePlatformApplicationRequest& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_platform; bool m_platformHasBeenSet = false; Aws::Map