This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-sms/include/aws/sms/model/CreateAppResult.h

147 lines
4.2 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/sms/SMS_EXPORTS.h>
#include <aws/sms/model/AppSummary.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/sms/model/ServerGroup.h>
#include <aws/sms/model/Tag.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace SMS
{
namespace Model
{
class AWS_SMS_API CreateAppResult
{
public:
CreateAppResult();
CreateAppResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateAppResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A summary description of the application.</p>
*/
inline const AppSummary& GetAppSummary() const{ return m_appSummary; }
/**
* <p>A summary description of the application.</p>
*/
inline void SetAppSummary(const AppSummary& value) { m_appSummary = value; }
/**
* <p>A summary description of the application.</p>
*/
inline void SetAppSummary(AppSummary&& value) { m_appSummary = std::move(value); }
/**
* <p>A summary description of the application.</p>
*/
inline CreateAppResult& WithAppSummary(const AppSummary& value) { SetAppSummary(value); return *this;}
/**
* <p>A summary description of the application.</p>
*/
inline CreateAppResult& WithAppSummary(AppSummary&& value) { SetAppSummary(std::move(value)); return *this;}
/**
* <p>The server groups included in the application.</p>
*/
inline const Aws::Vector<ServerGroup>& GetServerGroups() const{ return m_serverGroups; }
/**
* <p>The server groups included in the application.</p>
*/
inline void SetServerGroups(const Aws::Vector<ServerGroup>& value) { m_serverGroups = value; }
/**
* <p>The server groups included in the application.</p>
*/
inline void SetServerGroups(Aws::Vector<ServerGroup>&& value) { m_serverGroups = std::move(value); }
/**
* <p>The server groups included in the application.</p>
*/
inline CreateAppResult& WithServerGroups(const Aws::Vector<ServerGroup>& value) { SetServerGroups(value); return *this;}
/**
* <p>The server groups included in the application.</p>
*/
inline CreateAppResult& WithServerGroups(Aws::Vector<ServerGroup>&& value) { SetServerGroups(std::move(value)); return *this;}
/**
* <p>The server groups included in the application.</p>
*/
inline CreateAppResult& AddServerGroups(const ServerGroup& value) { m_serverGroups.push_back(value); return *this; }
/**
* <p>The server groups included in the application.</p>
*/
inline CreateAppResult& AddServerGroups(ServerGroup&& value) { m_serverGroups.push_back(std::move(value)); return *this; }
/**
* <p>The tags associated with the application.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>The tags associated with the application.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
/**
* <p>The tags associated with the application.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
/**
* <p>The tags associated with the application.</p>
*/
inline CreateAppResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>The tags associated with the application.</p>
*/
inline CreateAppResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The tags associated with the application.</p>
*/
inline CreateAppResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
/**
* <p>The tags associated with the application.</p>
*/
inline CreateAppResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
private:
AppSummary m_appSummary;
Aws::Vector<ServerGroup> m_serverGroups;
Aws::Vector<Tag> m_tags;
};
} // namespace Model
} // namespace SMS
} // namespace Aws